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.
More in expectation
- The best of the dice · Dice
- All-time highs · Stock market
- Collect every team card · Collectibles
- Empty subway cars · Subway
- Heads in a row · Coin flips
- Every face on a loaded die · Dice