Quote:
Originally Posted by PairTheBoard
Where do you get a/7^i = i/(i*N) ? And isn't that just a = 7^i / N ? In any case it looks like you're getting an a that depends on i. But a should be constant.
What you want is for the function values to sum to 1.
i.e. You want Sum(i=1...N) [a/7^i] = 1
Solve for a.
PairTheBoard
Yes, you're right. I accidently solved a/7^i = i/(i*N) <=> a = i/i*N*7^i.
It should be just be (7^i)/N like you wrote.
My idea was that i/i*N, which could be written just 1/N, would generate the respective probabilities of the elements of the set. Such that Sum(i=1,2,...,N) 1/N = 1. Therefore a/7^1 had to equal 1/N (previously i/i*N)
This gives, solving for a: a/7^i = 1/N <=> a = 7^i/N and then the sum(i=1,2,...N) (7^i/N) / 7^i = 1/N = 1
--------------
I'm confused here, what you asked me to do, solving [a/7^i] = 1 <=> a = 7^i. Then wouldn't a be dependant upon i?
This solution, where a = 7^i, would generate the final equition of 7^i/7^i which is just 1/1 = 1. That doesn't seem right because it doesn't represent the probability of choosing a particular element from the set?
I also think that a must definitely depend upon N (like in my example), because it matters how many elements are in the set.