Browse · MathNet
Print62nd Ukrainian National Mathematical Olympiad
Ukraine counting and probability
Problem
There are 100 cards, each with one of the numbers , , , written on it, such that each number appears on exactly one card. The cards are stacked in such a way that the numbers , , , are written from top to bottom in order. Petrik rearranges the cards according to the following rules. If, before his -th move, the numbers on the cards from top to bottom are arranged as follows: , then after his move they are arranged as follows: (so the order of the cards does not change when ). Petryk takes turns making moves , , , , and then makes moves , , , again, and so on. Will the initial arrangement of the cards with the numbers , , , from top to bottom necessarily be repeated after a finite number of moves?
Solution
Let us consider two moves: and . Suppose that before the first of them there was a layout of cards , then after two moves we will have the following changes: Thus, after each pair of moves, the corresponding even number is moved to the first place. Therefore, after 100 moves, we will have such a layout of cards: , , , , , , , , , , , . We will call this perturbation a megamove. We will call the initial position , the position after the first megamove , after the second , and so on. It is not difficult to understand that if the position arises from the position , then vice versa, it cannot arise from any other position except for . Therefore, let us consider the situation after a sufficiently large number of megamoves. They have to start repeating because there is a finite number of them possible. But if the position is repeated, then all previous ones coincide. Thus, the initial position had to repeat as well.
Techniques
Pigeonhole principleRecursion, bijectionPermutations / basic group theory