Natural numbers 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 ?
Solution
It is easy to write down all the pairs of the numbers, that will successively appear on the board:
As we see, after the appearance of the first four numbers: – 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: .
Case 2: .
Case 3: .
Case 4: , then . Thus the smallest possible value of is . Then if and 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.