Explanation
9 coins, one heavier
Nine coins look the same, but one is slightly heavier. You have a balance and only two weighings.
Can you always find the heavy coin?
9 coins, one heavier; a balance; "2 weighings"
A balance has 3 results
Here's the secret. A balance doesn't give two answers, it gives three: left heavier, right heavier, or level.
So split into three groups, not two.
A balance has 3 results: left down · right down · level
3 vs 3 (3 aside)
Put three coins on each side and keep three aside. If one side drops, the heavy coin is there.
If they balance, it's in the three you kept aside. One weighing, and you're down to three coins.
3 vs 3 (3 aside) → heavy group found
1 vs 1 (1 aside)
Same trick again: one coin on each side, one aside. Drop or level tells you exactly which coin it is.
Two weighings.
1 vs 1 (1 aside) → heavy coin found
Weighings
Each weighing triples what you can handle. One weighing: three coins.
Two: nine. Three: twenty-seven.
If you don't know whether the odd coin is heavier or lighter, it takes more: twelve coins need three weighings.
Weighings → coins: 1 → 3, 2 → 9, 3 → 27, 4 → 81
Worked example
2 cubes balance 3 balls, and 1 ball balances 2 marbles. How many marbles balance 4 cubes?
4 cubes = 2 × (2 cubes) = 2 × 3 balls = 6 balls = 6 × 2 marbles = 12 marbles.