Explanation:
The order of the numbers doesn't matter, so we'll use combinations instead of permutations. The number of combinations is:
āā
Cā = 215,553,195
So the probability of a ticket having the winning combination is 1 / 215,553,195.
The expected value to the state is:
E(X) = 10,000 (1) ($2) + 10,000 (1 / 215,553,195) (-$1,000,000)
E(X) = $19954
The expected value to you is:
E(X) = 10,000 (1) (-$2) + 10,000 (1 / 215,553,195) ($1,000,000)
E(X) = -$19954