0:00
Probability 4.0/10

Three Alike

A fair coin is flipped repeatedly until three consecutive flips are identical (either three heads in a row or three tails in a row). What is the expected number of flips, counting the final one? Give an exact number.

Related problems & prerequisites

Worth solving first

Source: Standard run-waiting-time exercise in wide circulation; no traceable original source. Statement written for AxiomIQ.