LearndleNo. 7Friday 4 December 2026
Pick three flips
You pick any three coin flips, then the page picks its own. Who wins more often?
This browser is not keeping data, so your progress will be lost when you close the page.
This discovery is not open yet
1 The question
You pick first. The page picks better
Welcome back. This is where you were.
You choose any pattern of three coin flips, such as heads, heads, heads. Then the page chooses its own, after seeing yours. A fair coin is flipped until one of the two patterns comes up. That pattern wins.
Every pattern of three is just as likely as any other at any spot in the flips. So it sounds like a fair game. It is not.
In about 7 minutes you will be able to
- Tell apart "which pattern is likelier" and "which pattern comes first".
- Say why picking second gives an edge, and build the reply to a pick.
- Spot the same idea in waiting times and in games where no choice is best.
2 Your guess
Who wins more often?
Welcome back. This is where you were.
You pick a pattern of three flips. The page picks another one after seeing yours. A fair coin decides. Over many rounds, who wins more often?
Over many rounds, who wins more often?
Saved. Now you can play it and see.- Neither. Any pattern is as likely as any other, so it is fair.
- You do. You picked first, and the page has to pick something else.
- The page does, whatever pattern you pick.
Pick one in your head before you read on.
3 Try it
Play the page
Welcome back. This is where you were.
Press the coins to set your pattern. The page picks its reply by a rule, and you will see it. Then flip. “Flip once” adds one flip. “Finish this round” keeps flipping until one pattern shows. “Play 100 rounds” does a hundred at once. It is a game with a coin, with nothing at stake.
Your pattern. Press a coin to change it.
- You won
- 0
- The page won
- 0
- Rounds
- 0
- Page’s share
- no rounds yet
Amber is you, teal is the page. The score is for the pattern you have set now. The coin is a fair one, simulated by your browser.
All eight picks, with the page’s reply and its exact chance
Press a pattern to pick it and play it.
| You pick | The page picks | Page wins |
|---|---|---|
| THH | 87.5 per cent | |
| THH | 75 per cent | |
| HHT | 66.7 per cent | |
| HHT | 66.7 per cent | |
| TTH | 66.7 per cent | |
| TTH | 66.7 per cent | |
| HTT | 75 per cent | |
| HTT | 87.5 per cent |
The page’s reply to each pick, with its exact chance of winning:
- You pick HHH, the page picks THH, and the page wins 87.5 per cent of rounds.
- You pick HHT, the page picks THH, and the page wins 75 per cent of rounds.
- You pick HTH, the page picks HHT, and the page wins 66.7 per cent of rounds.
- You pick HTT, the page picks HHT, and the page wins 66.7 per cent of rounds.
- You pick THH, the page picks TTH, and the page wins 66.7 per cent of rounds.
- You pick THT, the page picks TTH, and the page wins 66.7 per cent of rounds.
- You pick TTH, the page picks HTT, and the page wins 75 per cent of rounds.
- You pick TTT, the page picks HTT, and the page wins 87.5 per cent of rounds.
Whatever you picked, the page came out ahead. What is the best explanation?
Both patterns race on the same fair coin, and any particular three flips come up at a given spot with the same chance, one in eight. The page does not change the coin. It changes which pattern it takes.The page’s pattern is built from yours: the opposite of your middle flip, then your first two. When you are partway to yours, you often slip into the page’s. It is a choice, not a trick with the coin.Luck would even out. Play more rounds and the page’s share settles at its exact chance, not at half.- The page’s coin is not fair.
- It picks a pattern that sets up where yours can go wrong, so it often finishes first.
- Luck. With more rounds the two would even out.
Show the answer
It picks a pattern that sets up where yours can go wrong, so it often finishes first.
The page’s pattern is built from yours: the opposite of your middle flip, then your first two. When you are partway to yours, you often slip into the page’s. It is a choice, not a trick with the coin.
Try these
- Play at least 30 rounds with one pattern.not done yet
- Pick a second pattern and play at least 20 rounds with it.not done yet
- Open the table of all eight picks.not done yet
4 Why
Which pattern is first matters, not which is likelier
Welcome back. This is where you were.
At any spot, all eight patterns are equally likely. The race is a different question: which pattern shows up first. Here the order of choosing is the whole trick.
Take HHH against THH
HHH can only win if the very first three flips are heads, heads, heads. That has a chance of 1 in 8. If a tail comes up first, then the first time two heads follow it, THH is complete. HHH cannot finish before that, because it needs three heads in a row and any run of heads that follows a tail ends with THH already on the table. So THH comes first in 7 rounds out of 8: 87.5 per cent for the page.
Play at least 30 rounds with one pattern and your own number appears here.
The reply rule
For any pattern you pick, the page takes the opposite of your middle flip, then your first two. After HHT, that is THH. After THT, it is TTH. The page’s last two flips are your first two, so it has a head start whenever you are part of the way there. The table you opened shows that the reply beats every pick, from 2 rounds in 3 up to 7 in 8.
Nobody wins by a bigger secret
No pattern is best. Each pick has a reply that beats it, so the one who chooses second always has an edge. For patterns of three flips, whatever the first player picks, the second can pick a better one. The method for working out the odds for any two patterns is John Conway’s.
If you guessed fair
You guessed it is fair. Each pattern is equally likely at any spot, so fair is a natural guess. But the race is about which comes first, and there the page wins {hhh} per cent against HHH and at least 2 in 3 against every other pick.
If you guessed you
You guessed you win more. Picking first feels like an advantage. Here it is the other way round: the player who sees the other pattern first picks a reply and wins at least 2 rounds in 3.
If you guessed the page
You guessed the page. Right. It sees your pattern first, and its reply wins at least 2 rounds in 3, and 7 in 8 against HHH or TTT.
Is it really not a cheat?
The coin is fair and nothing about your flips is known to the page. The page only chooses after you. If the page had to choose first, you could do the same to it.
5 Use it
Three new situations
Welcome back. This is where you were.
Use what you found out. A wrong answer explains itself, and you can try again. Only your first try counts for your result.
You flip a coin until you see two heads in a row (HH). A friend flips until they see a head and then a tail (HT). Each of you starts fresh. On average, who is done sooner?
Equally likely at a spot is not the same as equally quick to arrive. Think of what a miss costs: what do you have left after a failed try?After a head, your friend loses nothing when another head comes, because it is still a head waiting for a tail. You lose everything when a tail comes after a head, and start again. The papers give about 4 flips for HT and 6 for HH.It looks simpler, but it restarts more often. A tail after your first head sends you back to nothing.- The same. Both patterns are equally likely at any spot.
- Your friend. HT takes about 4 flips, HH about 6.
- You. Two heads in a row looks easier to spot.
Show the answer
Your friend. HT takes about 4 flips, HH about 6.
After a head, your friend loses nothing when another head comes, because it is still a head waiting for a tail. You lose everything when a tail comes after a head, and start again. The papers give about 4 flips for HT and 6 for HH.
The page's rule gives these results: HHT usually beats HTT (66.7 per cent), HTT usually beats TTH (75 per cent), and TTH usually beats THH (66.7 per cent). So does HHT usually beat THH?
That chain works for heights and for numbers, but not here. Check the exact chances: THH beats HHT.THH beats HHT 75 per cent of the time. The beating goes round in a circle, so there is no best pattern. Games like this are called non-transitive.They do not: THH wins about three rounds in four.- Yes. If A beats B and B beats C, then A beats C.
- No. THH beats HHT, so the chain goes round in a circle.
- They tie.
Show the answer
No. THH beats HHT, so the chain goes round in a circle.
THH beats HHT 75 per cent of the time. The beating goes round in a circle, so there is no best pattern. Games like this are called non-transitive.
A friend says: let us use patterns of four flips instead of three. With more flips to choose from, it will be fairer. Will it?
More patterns do not remove the edge. The sources say that for patterns of three or more flips, whatever the first player picks, the second can pick a better one.The same method works for longer patterns. For three or more flips, the second player has a reply that beats any first pick.No. It never flips. Seeing the other pattern is the advantage, and the second player always sees it.- Yes. More flips, more patterns, so nobody has an edge.
- No. Whoever picks second can still find a better pattern.
- It flips round: the first picker now has the edge.
Show the answer
No. Whoever picks second can still find a better pattern.
The same method works for longer patterns. For three or more flips, the second player has a reply that beats any first pick.
6 Done
What you found out
Welcome back. This is where you were.
In a race between patterns of three coin flips, the one who picks second has the edge, by at least 2 rounds in 3. Every pattern is equally likely at any spot, but the race is about which comes first.
When two choices race and one is made after seeing the other, the later choice can be built to win more often, even on a fair coin.
Your result
A day counts for the streak when you finish that day’s discovery on that day, by your own clock. Finishing an older one from the archive marks it done, but it does not add to the streak.
Sources, and what the models leave out
Most pages below could not be opened directly while this edition was made, so each fact was checked through search results that quote them. The rule for the page’s reply and the exact odds (7 to 1 for THH against HHH, and the rest of the table) were worked out here twice, by following the last two flips and by Conway’s leading number formula, and the two agree for all 56 pairs. A simulation of 200,000 rounds of HHH against THH gave 87.4 per cent for the page against the exact 87.5. The waiting times of 6 and 4 flips come from the papers above. The page is a toy: it assumes a fair coin with flips that do not affect each other, and uses your browser’s random numbers in place of a coin. It is a game of chance for fun, with no money in it. Nothing is sent from your browser.
- Plus Magazine: Penney ante, the coin gameThe game and Conway’s leading number method, with the pair HHH and THH worked through. For patterns of three, whatever the first player picks, the second can pick a better one.
- Yutaka Nishiyama: Penney ante (Haverford College copy)A worked account of the game and its odds, with Player A choosing HHH and Player B choosing THH.
- Joshua Miller: Penney’s game odds from no arbitrage (arXiv)A proof that Conway’s formula gives the odds for any two patterns, checked on a two flip example.
- Penney’s game odds from no arbitrage (PDF copy)The same paper, a second copy.
- Humble and Nishiyama: the randomness game, a card version of Penney’s gameWalter Penney’s 1969 game and a version with a pack of cards. The first player is at a disadvantage.
- Variants of Penney’s game (arXiv)That HH takes 6 flips on average and HT takes 4, although either is equally likely to come first when they race.
- University of Warwick: sample lecture notes on waiting times for coin patternsThe waiting time for HT is 4 flips and for HH is 6.
- Coin flipping and waiting time paradoxes (arXiv)The mean waiting times for HH and HT again, in a second paper.
- Wikipedia: Penney’s gameThe winning replies for each pick, the odds, and that the relation is not transitive.