LittleWolf
- 38
- 0
Does anyone know how to determine the probability that the sixth side of a fair die will appear on the Nth consecutive throw.
BicycleTree said:The number of onto functions from a set of size m to a set of size n is equal to the sum for i = 0 to n of ((-1)^i * C(n, i) * (n - i)^m).
So to find the answer to LittleWolf's question, you substitute N for m and 6 for n in that expression.
BicycleTree said:Looks right to me.
I think the reason it might be familiar to you is that (so says my book) the summation is a Stirling number of the second kind, S(m, n), multiplied by n!.