Maths Olympiad Prep

Library / /16 of 18

Combinatorics Difficulty 5.4 AIME, harder Find the answer United States

Jerry likes to play with numbers. One day, he wrote all the integers from 11 to 20242024 on the whiteboard. Then he repeatedly chose four numbers on the whiteboard, erased them, and replaced them by either their sum or their product. (For example, Jerry's first step might have been to erase 11, 22, 33, and 55, and then write either 1111, their sum, or 3030, their product, on the whiteboard.) After repeatedly performing this operation, Jerry noticed that all the remaining numbers on the whiteboard were odd. What is the maximum possible number of integers on the whiteboard at that time?

Pick one

Solution

Each time this operation was performed, the number of even integers on the whiteboard was reduced by at most 33. There were 20242=1012\frac{2024}{2} = 1012 even integers on the whiteboard initially. Because 10113=337\frac{1011}{3} = 337 and 10143=338\frac{1014}{3} = 338, Jerry needed at least 338338 operations to eliminate all of them. After 338338 operations there were 2024(3383)=10102024 - (338 \cdot 3) = 1010 numbers on the whiteboard.

To see how all the even numbers could have been eliminated using these operations, suppose Jerry chose 6n+16n + 1, 6n+26n + 2, 6n+46n + 4, and 6n+66n + 6 and replaced them by their sum, for 0n3360 \le n \le 336. For the final operation, Jerry could have erased 33, 55, 99, and 20242024 and replaced them with their sum. Then after these 338338 operations, all 10101010 numbers on the whiteboard were odd.

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.