Learn / Library / Probability
Consecutive sixes
A fair -sided die is rolled repeatedly and independently. What is the expected number of rolls until a appears on consecutive rolls for the first time?
Checking an answer needs JavaScript. The hint and the solution open without it.
Hint
Use states: no progress, or the last roll was a . Write a pair of linear equations for the expected remaining rolls.
Solution
- Let be the expected remaining rolls when the last roll was not a , and when the last roll was a .
- Then , which simplifies to .
- Also , because a ends the game and any other roll returns to the start.
- Substituting gives , so .
- Then , and the game starts in that state, so the answer is .
Answer: