On this page
Twelve coins look identical, but one is a fake that is either heavier or lighter, and you are not told which. You have a two-pan balance and three weighings. The Wikipedia article on balance puzzles notes that this version appeared in print as early as 1945. It is also a clean lesson in counting, the same skill JEE permutations and probability reward.
Why are three weighings enough for twelve coins?
Count answers, not coins. In the twelve-coin puzzle any of the 12 coins could be the fake, heavy or light, so there are 12 × 2 = 24 possible answers.
Each weighing has three outcomes: left down, balance, right down. Three weighings give 3 × 3 × 3 = 27 records. A strategy works only if each answer gets its own record, and 24 is less than 27, so counting allows it.
Counting also picks the first move. Put k coins on each pan. If the pans tip, 2k answers remain, and two more weighings separate at most 9, so k is at most 4. If they balance, the 12 − 2k leftover coins give 2(12 − 2k) answers, also at most 9, so k is at least 4. The only workable start is 4 against 4.
With 13 coins the same sum fails: a tip needs k of at most 4, a balance needs at least 5. This fits the same article's note that three weighings can find the odd coin among 13 but cannot always say whether it is heavy or light.
How do you solve the twelve coins puzzle step by step?
Number the coins 1 to 12; 7L means coin 7 is light. This is the 4 against 4 plan described on Wikipedia, written out for every branch.
Weighing 1: coins 1, 2, 3, 4 against 5, 6, 7, 8.
If the pans balance, coins 1 to 8 are genuine.
Weighing 2: 9, 10, 11 against 1, 2, 3.
Left down: weigh 9 against 10; the heavier is the fake, and a balance means 11H.
Left up: weigh 9 against 10; the lighter is the fake, and a balance means 11L.
Balance: coin 12 is the fake. Weigh it against coin 1 to see whether it is heavy or light.
If the left pan goes down, one of 1 to 4 is heavy or one of 5 to 8 is light. Coins 9 to 12 are genuine.
Weighing 2: 1, 5, 6, 7 against 8, 9, 10, 11.
Left still down: 1H or 8L. Weigh 1 against 9; down means 1H, balance means 8L.
Balance: 2, 3 or 4 is heavy. Weigh 2 against 3; the heavier is the fake, a balance means 4H.
Left goes up: 5, 6 or 7 moved across and the tilt flipped, so one is light. Weigh 5 against 6; the lighter is the fake, a balance means 7L.
If the right pan goes down, mirror it. Weighing 2: 1, 9, 10, 11 against 2, 3, 4, 5. Right still down means 5H or 1L: weigh 5 against 9. Balance means 6, 7 or 8 is heavy: weigh 6 against 7. Right going up means 2, 3 or 4 is light: weigh 2 against 3.
All 24 answers land on different records, and three of the 27 records never happen. The diagram above draws the whole tree.
What is Dyson's formula for n weighings?
In 1946 F. J. Dyson published "The problem of the pennies" in The Mathematical Gazette. As Tokuda and Watanabe summarise in a 2023 arXiv paper, Dyson showed that with N coins (at least 3) you can find the fake and its type in n weighings when 2N ≤ 3ⁿ − 3, and cannot when 2N is larger.
So n weighings handle at most (3ⁿ − 3)/2 coins:
2 weighings: 3 coins
3 weighings: 12 coins
4 weighings: 39 coins
5 weighings: 120 coins
The three unused records in our tree are not sloppiness: Dyson's bound says no strategy can use them to fit a 13th coin.
How can you practise puzzles like this?
Count the possible answers first.
Count the outcomes each step can give: three for a balance, two for a yes-no question.
Choose moves that split the answers as evenly as possible.
Draw the tree and check that every leaf names exactly one answer.
Try 3 coins in 2 weighings, then 39 in 4.
The idea that one question can only give so many outcomes is the heart of information theory; our explainer on Shannon entropy and why a fair coin carries one bit takes it further. For another puzzle where careful counting exposes the trick, read Cassini's Fibonacci identity and the 64 = 65 puzzle.
For more problems with the reasoning laid out, the Fermi Problem Library has worked problems with a step-by-step solver that explains the reasoning rather than printing an answer.
Grab twelve bottle caps and run the tree once by hand; it sticks far better than reading it.



