Skip to main content
OlympiadHQ

Browse · MathNet

Print

XXIX Rioplatense Mathematical Olympiad

Argentina counting and probability

Problem

In Eventown all authentic coins weigh an even amount of grams and all fake coins weigh an odd amount of grams. There are coins and it is given that exactly of them are fake. We have an electronic scale which only shows if the total weight of the objects put on it is even or odd. Find the least value of such that there is a strategy that allows us to identify the two fake coins using the scale at most times.
Solution
The answer is . First we show a strategy that allows us to identify the two fake coins using the scale times. We label the coins with the numbers written in binary. Since , every coin corresponds to an -digit binary number. The first weighings are as follows: for each , in the -th weighing we put on the scale those coins whose -th digit is a . The total weight will be even if and only if either both or none of the fake coins are on the scale, i.e., if their -th digits are equal. Since the two fake coins are assigned different binary numbers, there is at least one position where one coin has a and the other has a . Therefore, we can guarantee that in at least one of these weighings the total weight is odd. Suppose this happens in weighing number . Then one of the fake coins, , has a in the -th digit, whereas the other fake coin, , has a in the -th digit. Furthermore, notice that with these first weighings we already know for each if the -th digits of and are equal or different. Therefore, if we are able to identify , then we can identify as well without any additional weighings. Now we make more weighings, which are as follows: for each , , we put on the scale those coins whose -th digit and -th digit are both equal to . Clearly, is not involved in any of these weighings, so the total weight is odd if and only if is on the scale, and this happens if and only if the -th digit of is a . So, by observing these weighings we can identify (because we already knew the -th digit, and now we know all the other digits). By our previous observation, this allows us to identify both fake coins. To complete the solution we must prove that or fewer weighings may not be enough to find the fake coins. We say that a pair of coins is a candidate if, given the information that we have at a certain point, it is possible that those two are the fake coins. For each , , let be the set of all candidates after weighings. A strategy will be successful if contains only one pair of coins, i.e., the fake coins are determined after weighings. Initially we have , which is the set of all pairs of coins, whose cardinality is equal to , which is greater than . Now, the key observation is the following. After the first weighing, the set is partitioned into two subsets, one containing all possible pairs of fake coins for which the first weighing would be odd, and the other containing all possible pairs of fake coins for which the first weighing would be even. The largest of these two subsets has at least half the cardinality of , and it is of course possible, no matter what the first weighing was, that is the largest of the two subsets. Now we keep going in the same way: in every weighing, it is always possible that the cardinality of is at least half the cardinality of . Hence, there is at least one configuration where the cardinality of is greater or equal to . This means that no strategy that uses the scale only times can be always successful. This completes the proof.
Final answer
21

Techniques

Pigeonhole principleColoring schemes, extremal arguments