Maths Olympiad Prep

Library / /6 of 6

, 2020

Combinatorics Difficulty 7.2 National Olympiad, round 2 Prove it Romania

A computer program reads the numbers displayed, identifies the selected ones and does one of the following actions:
- If AA is pressed, every selected number is changed to its successor;
- If BB is pressed, every selected number is changed to its triple.

On Andrei and Bogdan's computer screens are displayed the numbers 11, 33, 323^2, 333^3, ..., 3193^{19}.

a) Andrei will select 55 numbers and then presses AA, this is a type AA step.
Determine if there is a succession of type AA steps in order to obtain the sum of all displayed numbers to be equal to 201920202019^{2020}.

b) Bogdan will select 55 numbers and then presses BB, this is a type BB step.
What is the minimum number of type BB steps needed in order to obtain all the displayed numbers to be equal?

Solution

a) At every step of type AA, the sum of the displayed numbers increases by 55. The remainder modulo 55 of the sum is invariant.
The sum of four consecutive powers of 33 is 3n+3n+1+3n+2+3n+3=3n(1+3+9+27)=403n3^n + 3^{n+1} + 3^{n+2} + 3^{n+3} = 3^n(1 + 3 + 9 + 27) = 40 \cdot 3^n, therefore initially we have the remainder zero modulo 55 and it is impossible to obtain 201920202019^{2020}.

b) At every step the product of the displayed numbers is multiplied by 353^5.
Initially the product is 31+2+...+19=31903^{1+2+...+19} = 3^{190} and after nn type BB steps the product will be equal to 3190+5n3^{190+5n}.
Suppose that in nn steps the numbers are equal to a power of 33, at least 3193^{19}. The product of the 2020 numbers will be 320p3^{20p}, where p19p \ge 19.
We must have 320p=3190+5n3^{20p} = 3^{190+5n}, so n+38=4pn + 38 = 4p. Since p19p \ge 19, we have n38n \ge 38.
Next we provide a succession of 3838 type BB steps to display in the end equal numbers.

In 1515 steps, the numbers 11, 33, 323^2, 333^3, 343^4 become 3153^{15}, 3163^{16}, 3173^{17}, 3183^{18}, 3193^{19}. In the next 1010 steps 353^5, 363^6, 373^7, 383^8, 393^9 become 3153^{15}, 3163^{16}, 3173^{17}, 3183^{18}, 3193^{19} and the numbers 3103^{10}, 3113^{11}, 3123^{12}, 3133^{13}, 3143^{14} become 3153^{15}, 3163^{16}, 3173^{17}, 3183^{18}, 3193^{19} in 55 steps.

Thus in 3030 steps numbers 315,316,317,318,3193^{15}, 3^{16}, 3^{17}, 3^{18}, 3^{19} are displayed each 44 times.
Numbers 315,315,315,315,3163^{15}, 3^{15}, 3^{15}, 3^{15}, 3^{16} become 318,318,318,318,3193^{18}, 3^{18}, 3^{18}, 3^{18}, 3^{19} after three steps.
Numbers 316,316,316,317,3173^{16}, 3^{16}, 3^{16}, 3^{17}, 3^{17} become 318,318,318,319,3193^{18}, 3^{18}, 3^{18}, 3^{19}, 3^{19} in 22 steps.
Numbers 317,317,318,318,3183^{17}, 3^{17}, 3^{18}, 3^{18}, 3^{18} become 318,318,319,319,3193^{18}, 3^{18}, 3^{19}, 3^{19}, 3^{19} in one step.
Therefore after 3636 steps on Bogdan's computer screen are displayed 1010 of 3193^{19} and 1010 of 3183^{18}.
In last 22 steps we make all numbers equal to 3193^{19}.

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 reproduced verbatim; metadata (topic, difficulty) added by this project.