Maths Olympiad Prep

Track / Stage 6 / 256 of 400 #1736 of 2444

Problem 1736

National Olympiad, first round
Combinatorics Difficulty 6.6 Prove it Croatian Mathematical Competitions · 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?

This one wants a proof. Work it on paper, then read the official solution and mark yourself. Be honest about it: the record is only any use to you if it is.

Next problem →

Official 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.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty, ordering) added by this project.