Is there a general formula to determine the probability of unbounded, cumulative dice rolls hitting a specified number?
For Example, with a D6 and 14:
5 + 2 + 3 + 4 = 14 : success
1 + 1 + 1 + 6 + 5 + 4 = 17 : failure
|
Is there a general formula to determine the probability of unbounded, cumulative dice rolls hitting a specified number? For Example, with a D6 and 14: 5 + 2 + 3 + 4 = 14 : success 1 + 1 + 1 + 6 + 5 + 4 = 17 : failure |
|||||||||||||
|
|
Assuming the order matters (i,e 1+2 is a different outcome from 2+1) The probability of getting the sum $n$ with dice numbered $1,2,\dots,6$ is the coefficient of $x^n$ in $$\sum_{j=0}^{\infty}(\frac{x+x^2+x^3+x^4+x^5+x^6}{6})^j = \frac{6}{6-x-x^2-x^3-x^4-x^5-x^6}$$ Writing it as partial fractions (using roots of $6-x-x^2-x^3-x^4-x^5-x^6=0$) or using Cauchy's integral formula to find the coefficient of $x^n$, Taylor series, etc should work. |
|||||||||||
|
|
The short answer is not really, but it doesn't matter. If you're interested in computing the exact probability there is a way to do it reasonably quickly by writing down a certain matrix and using binary exponentiation, but I'll let you in on a secret: for large $n$, the answer is exponentially close to $\frac{1}{6}$ (that is, it's exactly what you would naively expect). A very similar result is proven in the MO thread Michael linked to. So if that's all you wanted to know, then you know it. If you really wanted to estimate how close it was to $\frac{1}{6}$ then you'd need to estimate the next largest root of the characteristic polynomial $x^6 = \frac{x^5 + ... + 1}{6}$. |
|||
|
|