Suppose we roll a die repeatedly and let Tk be the number of rolls until some number appears k times in a row. (a) Find P(T2 = k) for each integer k ≥ 2. (b) Find E[T2].
I am thinking that P(T2=2) = (1/6)(1/6) ; P(T2=3) = (5/6)(1/6)^3 . So I was trying to develop the pattern : P(T2=k) = (5/6)^(k-2) * (1/6)^k . However, I run into the issue that I have with P(T2=4) : The first role has 5 options, the second has 4 (because it cannot be the previous OR the next number). So I cannot figure out the general formula.
** I also originally thought that for all k>3, P(T2+k) would be zero. Is that correct or is the above reasoning better?
Thanks!
Clearly we can't finish on the first roll. However, on every subsequent roll, we finish iff we roll the same as the roll before. That means at any point after the first throw, we have a $\frac16$ probability of finishing there, and a $\frac56$ probability of continuing the game one step further.
So the probabilities would be exactly the same if the game had been "Throw the die once first. Then after that, throw until you get a $6$." And throwing until you get a $6$ has an expected value of $6$ throws. Add in the first dummy throw at the start, and we see that the answer becomes $7$.