Maths Olympiad Prep

Track / Stage 2 / 239 of 240 #479 of 2444

Problem 479

Combinatorics Difficulty 2.9 Prove it Junior Macedonian Mathematical Olympiad · 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?

This one wants a proof. Work it on paper, then read the official solution and mark yourself. Be honest about it: the record is only any use to you if it is.

Next problem →

Official 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.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty, ordering) added by this project.