You are applying for a job as inspector at the U.S. Mint. You have been handed 8 gold coins and are told that one of them is counterfeit: it is slightly lighter than each of the other seven. You are given a two-pan balance scale, and you are told that you may weigh coins on that scale twice. How can you identify the counterfeit coin?
Your prospective employers are fussy about the scale; if you put some coins on for the first weighing, and then change the coins in any way, that counts right there as your second weighing.
Solution
Call the coins (in three artificial groups) , , and ; , , and ; and finally and .
1st weighing: against .
Case 1: is heavier. Then the light coin is , , or .
2nd weighing: against . If , is the light one.
Case 2: is heavier. Then the light coin is , , or .
Proceed as in Case 1, but with instead of .
Case 3: = . Then or is the light one.
2nd weighing: X against Y.