Olympiad Maths Prep

Library / /17 of 55

Combinatorics Difficulty 5.6 AIME, harder Prove it Ukraine

Natural numbers a<ba < b are written on the board. At each step, two numbers written on the board are wiped out, and their sum and the modulus of difference are written down instead. At some point the number 2019 appeared on the board. What is the smallest possible value of bb?

Solution

It is easy to write down all the pairs of the numbers, that will successively appear on the board:
a,bb+a,ba2a,2b2(b+a),2(ba)2a2,2b2 a, b \rightarrow b+a, b-a \rightarrow 2a, 2b \rightarrow 2(b+a), 2(b-a) \rightarrow 2a^2, 2b^2 \dots

As we see, after the appearance of the first four numbers: a,b,b+a,baa, b, b+a, b-a – all the other numbers that may appear on the board are even. Since 2019 is an odd number, then the number 2019 must appear among these first four numbers.

Case 1: b=2019b = 2019.

Case 2: a=2019<ba = 2019 < b.

Case 3: ba=2019<bb-a = 2019 < b.

Case 4: b+a=2019b+a = 2019, then 2b>b+a=20192b2020b10102b > b+a = 2019 \Rightarrow 2b \ge 2020 \Rightarrow b \ge 1010. Thus the smallest possible value of bb is b=1010b=1010. Then if b=1010b=1010 and a=1009a=1009 the number 2019 can appear on the board.

Looking for a route rather than 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.