2010 OIM Problems/Problem 1

Problem

There are ten indistinguishable coins placed in a line. It is known that two of them are fake and occupy consecutive positions on the line. For any set of positions, you can ask how many fake coins it contains. Is it possible to determine which coins are fake asking only two of these questions, without knowing the answer to the first one before formulating the second?

~translated into English by Tomas Diaz. ~orders@tomasdiaz.com

Solution

The intuition behind the setup below is that the answer will always be $2,1,$ or $0$. Thus we have $3$ possibilities, so we can determine the difference between $3$ sets of coins. Since we have two questions, there are $3\times3=9$ sets we can differentiate, which is exactly the number of consecutive positions there are.

We claim that the coins we should ask (marked in red below) are: [asy] dot((0,0));dot((1,0));dot((2,0),red);dot((3,0),red);dot((4,0),red);dot((5,0),red);dot((6,0));dot((7,0));dot((8,0));dot((9,0),red); [/asy] [asy] dot((0,0));dot((1,0));dot((2,0),red);dot((3,0),red);dot((4,0));dot((5,0));dot((6,0));dot((7,0),red);dot((8,0),red);dot((9,0),red); [/asy] Every pair of answers corresponds to exactly one of the consecutive pairs, so we are done.

~ eevee9406

See also

OIM Problems and Solutions