Learn / Library / Expected value
Runs of equal die values
A fair -sided die is rolled times. A run is a maximal block of consecutive equal results. What is the expected number of runs?
Checking an answer needs JavaScript. The hint and the solution open without it.
Hint
A new run starts when a roll differs from the previous roll.
Solution
- The first roll starts a run.
- Each of the other rolls differs from its predecessor with probability .
- The expectation is .
Answer: