Maths Olympiad Prep

Library / /71 of 82

Combinatorics Difficulty 6.6 National olympiad Prove it Croatia

There are some integers written on the blackboard. In each step two numbers aa and bb are chosen and replaced with the numbers 3ab3a - b and 13a3b13a - 3b. If there are numbers 11, 22, 33, 44, \ldots, 20112011, 20122012 on the blackboard at the beginning, is it possible to get numbers 22, 44, 66, 88, \ldots, 40224022, 40244024 on the blackboard after a finite number of steps?

Solution

In each step the sum of all numbers on the blackboard changes by
((3ab)+(13a3b))(a+b)=15a5b=5(3ab). ((3a - b) + (13a - 3b)) - (a + b) = 15a - 5b = 5(3a - b).
This difference is divisible by 55, i.e. the sum of all numbers written on the board in each step gives the same remainder when divided by 55.
At the beginning, the sum of all numbers on the board is
1+2+3++2012=201220132=10062013 1 + 2 + 3 + \dots + 2012 = \frac{2012 \cdot 2013}{2} = 1006 \cdot 2013
and we have
10062013133(mod5). 1006 \cdot 2013 \equiv 1 \cdot 3 \equiv 3 \pmod{5}.
On the other hand,
2+4+6++4024=2(1+2+3++2012)231(mod5). 2 + 4 + 6 + \dots + 4024 = 2 \cdot (1 + 2 + 3 + \dots + 2012) \equiv 2 \cdot 3 \equiv 1 \pmod{5}.
In conclusion, it is impossible to get the numbers 22, 44, 66, \ldots, 40244024.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement and solution reproduced as published; topic and difficulty added by this site.