Maths Olympiad Prep

Library / /684 of 860

Number theory Difficulty 5.4 AIME, harder Find the answer

Compute the sum of all two-digit positive integers xx such that for all three-digit (base 10) positive integers \underline{a} \underline{b} \underline{c}, if \underline{a} \underline{b} \underline{c} is a multiple of xx, then the three-digit (base 10) number \underline{b} \underline{c} \underline{a} is also a multiple of xx.

A number or a short expression. Spacing and $ signs are ignored.

Solution

Note that abc0bca=a(1041)\overline{a b c 0}-\overline{b c a}=a\left(10^{4}-1\right) must also be a multiple of xx. Choosing a=1a=1 means that xx divides 103110^{3}-1, and this is clearly a necessary and sufficient condition. The only two-digit factors of 103110^{3}-1 are 27 and 37, so our answer is 27+37=6427+37=64.

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: Omni-MATH, licensed Apache-2.0. Statement and solution reproduced as published; topic and difficulty added by this site.