Priors

Expectation · Coin flips

Counting streaks

You flip a coin 20 times; it lands heads with probability 0.5. A run is a maximal block of identical results, so HHTHHH has 3 runs. What is the expected number of runs?

Answer with an expected value. First lock in a gut guess with an 80% range, then solve it properly, then watch a simulation settle on the truth.

Play it

More in expectation

All puzzles