Penney's Game — Definition, Formula & Example
Penney's Game is a two-player game where each player picks a pattern of three coin flips, such as HHT, and a fair coin is flipped until one pattern shows up. The surprise is that the second player can always pick a pattern that is more likely to appear first.
Player A chooses a sequence . Player B then chooses a different sequence . A fair coin is tossed repeatedly, and the player whose sequence first appears as three consecutive tosses wins. For every choice , the reply wins with probability at least . Here is the opposite of .
Key Formula
Where:
- = The two chosen patterns, each of length 3
- = Conway's correlation number. For each shift , write a 1 if the last flips of equal the first flips of , and a 0 otherwise. Read the three digits as a binary number.
Worked Example
Problem: Player A picks HHT. Player B replies with THH. Find the probability that THH appears before HHT.
Step 1: HHT can appear only after HH appears. Suppose the first two flips are HH. Then the first T after that run completes HHT. A T would have to come first for THH to appear, so THH cannot win. This case has probability:
Step 2: Otherwise, the first HH appears later. The flip just before it must be T, or HH would have appeared earlier. So THH is completed the moment HH first appears, before HHT is possible. Use the complement of the Step 1 case:
Step 3: Check with Conway's formula. , , , and .
Answer: THH beats HHT with probability . The odds are 3 to 1 in Player B's favor.
Why It Matters
Penney's Game is a standard example of nontransitivity in probability courses. THH beats HHT (probability 3/4), HHT beats HTT (2/3), HTT beats TTH (3/4), and TTH beats THH (2/3), so the patterns form a cycle with no best choice. The overlap ideas behind Conway's formula also appear in string-matching algorithms and in DNA sequence analysis.
Common Mistakes
Mistake: Reasoning that every three-flip pattern has probability , so any two patterns are equally likely to appear first.
Correction: Each pattern has probability in a fixed block of three flips. But the race depends on how the patterns overlap. THH reuses the start of HHT, so it wins 3 times out of 4.
