Browse · MathNet
Print65th Czech and Slovak Mathematical Olympiad
Czech Republic counting and probability
Problem
Some objects are in each of four rooms. Let be an integer. We move one -th of objects from the first room to the second one. Then we move one -th of (the new number of) objects from the second room to the third one. Then we move similarly objects from the third room to the fourth one and from the fourth room to the first one. (We move the whole units of objects only.) Finally the same number of the objects is in every room. Find the minimum possible number of the objects in the second room. For which does the minimum come?
Solution
Let us compute backwards. Firstly we find the number of the objects in two rooms before the move. Let and be number of the objects in the rooms and before the move. This number after the move we denote by and . By the conditions holds. From the first equation and an identity we obtain Now let be the final number of the objects in every room after the fourth move. By this identity we can compute the initial number of objects in every room in terms of and : Finally: & & & before : & & & before : & & & before : & & & before : & & &
Since the number of objects in the first room was positive, holds. Now we can easily find the minimum of The difference between numerator and denominator is 1, so the fraction is irreducible. Since is integer it must be for proper , therefore . For we can estimate , so too. Using and we obtain and we can easily check that the quadruple (3, 5, 4, 4) satisfies the problem: it transforms to quadruple (2, 6, 4, 4), then (2, 4, 6, 4), after that (2, 4, 4, 6) and finally (4, 4, 4, 4). So the minimal numbers of objects in the second room is 5 and we can obtain it only for because for is .
Since the number of objects in the first room was positive, holds. Now we can easily find the minimum of The difference between numerator and denominator is 1, so the fraction is irreducible. Since is integer it must be for proper , therefore . For we can estimate , so too. Using and we obtain and we can easily check that the quadruple (3, 5, 4, 4) satisfies the problem: it transforms to quadruple (2, 6, 4, 4), then (2, 4, 6, 4), after that (2, 4, 4, 6) and finally (4, 4, 4, 4). So the minimal numbers of objects in the second room is 5 and we can obtain it only for because for is .
Final answer
5, attained when n = 3
Techniques
Invariants / monovariantsIntegers