You have been given a certain number of coins that all look identical. All are made out of gold and weigh the same except for one counterfeit which weighs differently than all the rest. Your task is to pick out the counterfeit by weighing different coins against each other using a balance scale. You are only allowed three weighings on the balance scale and you don't know whether the counterfeit coin is lighter or heavier than the rest.
What is the maximum possible number of coins for which you are guaranteed to be able to find the counterfeit?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
It is possible to find the counterfeit among 13 coins. For the first weighing, weigh 4 coins against another 4 coins, leaving 5 coins off the balance. Case 1: The balance is level. This means that the counterfeit is among the remaining 5 coins. Weigh 3 of these coins against 3 coins that you know are genuine. Case 1a: The balance is level. This means that the counterfeit is among the remaining 2 coins. Weigh one of these against a genuine coin. If the balance tips, you know it was that coin; if it levels, then it was the other coin. Case 1b: the balance tips toward or away from the 3 possibly counterfeit coins. We now know whether the counterfeit is lighter or heavier than the rest. Weigh 2 of these coins against each other to see wihich is heavier (or if it levels in which case the coin left off the balance is counterfeit). Case 2: The balance tips. We can now label the coins H1,H2,H3,H4 and L1,L2,L3,L4 and G1,G2,G3,G4,G5 for possibly heavy, possibly light, and definitely genuine. Now weigh H1,H2,H3,L1 on the left against H4,G1,G2,G3 on the right. Case 2a: The balance levels. This means that the counterfeit is either L2, L3, or L4 and we can weigh two of them against each other to determine which one is the lightest. Case 2b: The left side is heavier. This means that the counterfeit is either H1, H2, or H3 and we can weigh two of them against each other to determine which one is the heaviest. Case 2c: The right side is heavier. This means that the counterfeit either L1 or H4. Weighing L1 against a genuine coin will tell us which is the case.
We can prove that 13 is optimal. The only way to get any higher would be to (1) weigh 5 coins against 5 coins in the beginning or (2) leave 6 coins off. (1) If we weighed 5 against 5, and the balance tipped, then we would have 2 weighs to find 1 coin out of 10. This is impossible because with 2 weighings with 3 possible outcomes each, the maximum possible total outcomes would be 9, making it impossible to discriminate 1 out of 10. (2) If we have 6 coins and 2 weighings left, we can only afford to leave 2 coins off the balance for our second weighing. If we left 3 off and the balance leveled, then we would have 1 weighing to determine which of the 3 was different from the others which is impossible. This means that there would be 4 coins on the balance for the second weighing, possibly with some extra genuine coins. No matter how we do this it would not eliminate any of the 4 coins from being possibly counterfeit, so we would be left to discriminate 1 coin out of 4 which is impossible with 1 weighing.