Compute the sum of all two-digit positive integers 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 , then the three-digit (base 10) number \underline{b} \underline{c} \underline{a} is also a multiple of .
Solution
Note that must also be a multiple of . Choosing means that divides , and this is clearly a necessary and sufficient condition. The only two-digit factors of are 27 and 37, so our answer is .
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.