Maths Olympiad Prep

Library / All-Soviet-Union Mathematical Olympiad /49 of 185

All-Soviet-Union Mathematical Olympiad

Number theory Difficulty 4.7 AIME Prove it Soviet Union

Problem:

Bus numbers have 6 digits, and leading zeros are allowed. A number is considered lucky if the sum of the first three digits equals the sum of the last three digits. Prove that the sum of all lucky numbers is divisible by 13.

Solution

Solution:

The total is made up of numbers of the form abcabcabcabc, and pairs of numbers abcxyzabcxyz, xyzabcxyzabc. The former is abc×1001abc \times 1001 and the sum of the pair is 1001(abc+xyz)1001(abc + xyz). So the total is divisible by 10011001 and hence by 1313.

Want a route through all this instead of an archive? The track puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.

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