Quoto

Learn / Library / Expected value

Runs in flips

Expected valueEasy

A fair coin is flipped times. A run is a maximal block of equal consecutive results. What is the expected number of runs?

Checking an answer needs JavaScript. The hint and the solution open without it.

A whole number, a decimal, a fraction like 3/8 or a percent.

Hint

A new run starts whenever a flip differs from the previous one.

Solution
  1. The first flip always starts a run.
  2. Each of the other flips starts a new run when it differs from its predecessor, which has probability .
  3. The expectation is .

Answer: