Maths Olympiad Prep

Library / /1 of 18

Combinatorics Difficulty 2.9 Junior Prove it North Macedonia

The numbers 11, 22, \ldots, 20092009 are written on a board. Some of them are erased and the remainder of their sum divided with 1313 is written on the board. After a finite number of repetition of the above procedure only three numbers have left, two of which are 9999 and 999999. What is the third number?

Solution

Let xx be the third number. After every procedure the remainder of the sum of the numbers on the board divided with 1313 is unchanged.

1+2+3++2009=200920102=100520091+2+3+\ldots+2009 = \frac{2009 \cdot 2010}{2} = 1005 \cdot 2009

divided with 1313 has remainder 22.

Hence 99+999+x99+999+x divided with 1313 has remainder 22. Now 99+999=109899+999=1098 has remainder 66 and 9999 and 999999 are not remainders, follows that 0x<130 \le x < 13 i.e. x=9x=9.

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.