There are coins on a table. For in succession, one must turn over exactly coins. Prove that it is always possible either to make all of the coins face up or to make all of the coins face down, but not both.
Solutions — 2
Solution 1
We start by proving that it is always possible either to make all of the coins face up or to make all of the coins face down.
Notice that if we proceed by choosing the numbers in this order or in any other order, the final result will depend only on the coins chosen at each step. For the sake of simplicity, we will follow the order
By symmetry of the face up/face down positions, we can assume without loss of generality that at the beginning, the number of coins face up is odd equal to . Choose of these face up coins and of the face down coins and turn them over to get coins face up and coins face down. Turn these new coins face up to get all the coins face down. After this, at each step, whenever we choose coins, for , in the next step we choose the remaining coins to make at the end all the coins face up.
Now we prove that for each starting position, it is not possible to choose to make all the coins face up or all the coins face down.
Assume that starting with an odd number of face up coins we can make at the end all the coins face down. This means that each face up coin will be turned over an odd number of times while each face down coin will be turned over an even number of times. Therefore, the total number of turning over coins is
But the total number of turning over coins is
which is a contradiction. So it is only possible to make all the coins face up and not to make all of them face down. In a similar way, if we start with an odd number of face down coins it is only possible to make them all face down.
Solution 2
The statement works for any odd number of coins. We prove it by induction on the number of coins, being odd. The case is obvious. Suppose the statement is true for , for some positive integer . If we are given coins, we consider the following cases.
- Case 1. There is a coin facing up and another coin facing down. We consider the other coins first. By our induction, we can turn the coins times in succession so all the coins are in one direction. Without loss of generality, we assume that all the coins are facing up. Then we turn all these coins together with and then turn all the coins so they will be all facing up.
- Case 2: All the coins are in the same direction. We arrange the coins around a circle and number them in clockwise order. We first turn coin , then coins and , and then , and , and so on along the circle. Then we make a total of turnings and each coin has been turned times. Since they start in the same direction, they end in the same direction.
From the above argument, we can find a way to make all of the coins facing in one direction after operations regardless of the initial configuration. Hence our induction is complete.
To prove that it is impossible to achieve both final configurations, we proceed as in the first solution.