If I have a fair die and throw it until I get a run of 1,2,3,4,5,6 in order, how many times on average must I throw the dice?
|
|
Let's write
then
so
i.e.
So the answer is $46656$. This is $6^6$ so the "obvious solution" turns out to be correct and there is probably a quicker way. |
|||||||||||||
|
|
For each $k\geqslant6$, call $x_k$ the six last positions occupied at time $k$. Introduce $t_0=0$ and, for each $n\geqslant1$, $t_n$ the $n$th time when the word Note that the sequence $(t_{n+1}-t_{n})_{n\geqslant0}$ is i.i.d. and distributed like $t_1$. This step uses the fact that after a completion of The process $(x_k)_k$ performs a random walk on the regular directed graph with $N=6^6$ vertices where every vertex By the law of large numbers for ergodic Markov chains, the asymptotic proportion of time spent at Comparing these two expressions, one gets $\mathrm E(t_1)=1/w=N=6^6=46656$. |
||||
|
|