# Leads in Coin Tossing

Leads in Coin Tossing

Consider a game in which a fair coin is tossed repeatedly. When the cumulative number of heads is greater than the cumulative number of tails, heads is in the lead. Tails moves to the lead when the cumulative number of tails is greater than the cumulative number of heads. Intuition might suggest that with a large number of coin tosses, heads and tails would spend roughly equal time in the lead. In fact, it is much more likely that one side or the other will be lucky a high proportion of the time. When the blue line is above the horizontal, heads is in the lead; when it is below, tails is in the lead. Vary the random seed and observe how often one side or the other is in the lead close to 100% of the time.