On the table there are 20 coins of weights , , , , , , , , and grams. They all look alike but their colours are all distinct. Now Miss Adams knows the weight and colour of each coin, but Mr. Bean knows only the weights of the coins. There is also a balance on the table, and each comparison of weights of two groups of coins is called an operation. Miss Adams wants to tell Mr. Bean which coin is the gram coin by performing some operations. What is the minimum number of operations she needs to perform?
, 2021
Solution
Miss Adams needs to perform at least two operations.
A strategy is as follows. In the first operation, she puts the coins of weights to on one side, and the three coins of weights , and on the other side.
Then the two groups will be of the same weight (). Since the total weight of coins is at least and the total weight of coins is at most , this is the only situation for which a group of coins has the same weight as a group of coins. So Mr. Bean knows the two unused coins are of weight and . Miss Adams then puts the -gram coin and the -gram coin on one side, and the -gram coin on the other side. Hence Mr. Bean will know which coin has weight .
Now we show that one operation is not enough. If one operation is enough, then the -gram coin should be the only coin in its group (a group on the balance or the unused group).
* If the -gram coin is put on the balance and the other group on the balance contains more than one coin, the situation is the same if the -gram coin and the -gram coin are swapped.
* If the -gram coin is put on the balance and the other group on the balance contains exactly one coin, the situation is the same if the -gram coin is replaced by any unused coin.
* If the -gram coin is the only unused coin and one side of the balance is heavier, then that side has weight at least as the total weight of all coins is , while the other side has weight at most . So the situation is the same if the -gram coin and the -gram coin are swapped.
* If the -gram coin is the only unused coin and the two sides of the balance have the same weight, we call the group containing the -gram coin group A, and the other group B. If group A contains a coin of weight and group B contains a coin of weight , then we can swap these two coins, and swap the -gram coin and the -gram coin. The two groups still have the same weight. In the remaining case, group A should contain the heaviest coins among those with weight , , , (possibly none), and the heaviest coins among those with weight , , , , . But then the total weight of group A cannot be . The computations are illustrated below.
-
-
-
-
-
Therefore, in any case Mr. Bean cannot tell whether the single coin has weight or not. So at least two operations are needed.