Skip to content

Average number of runs in 100 tosses

Question

A fair coin is tossed 100100 times. A run is a maximal block of consecutive identical outcomes (for example, HHTHHH has three runs). What is the expected number of runs?

Short answer

50.550.5. The first toss always opens a run, and each of the other 9999 tosses opens a new run exactly when it differs from the toss before it, which happens with probability 1/21/2. By linearity, 1+99/2=50.51+99/2=50.5.

Adapted from QuantQuestions.io; question and answer rewritten by SelfMadeQuant.com.

See the hint and the full worked solution in the question bank (free account).

Open the worked solution

Lessons behind this question

Start with a free lesson: Expectation, Variance and Covariance is part of a free topic. Create a free account, no card needed, to read it in full with worked solutions.

Read it free