Maths Olympiad Prep

Library / /1 of 3

Number theory Difficulty 5.4 AIME, harder Prove it Japan

nn is a 4-digit integer with ten's place nonzero, and if we take the first 2 digits and the last 2 digits as two 2-digit integers, their product is a divisor of nn. Determine all nn with this property.

Solution

Let AA and BB be the first and the last 2 digits of nn respectively. We have to determine all (A,B)(A, B) such that ABAB divides 100A+B100A + B.

Since AA divides 100A+B100A + B, AA divides BB. Let k=BAk = \frac{B}{A}. Since AA and BB are 2-digit numbers, 10A<100k10 \leq A < \frac{100}{k}.

The condition is equivalent to kA2100A+kAkA^2 \mid 100A + kA and this is equivalent to kA100+kkA \mid 100 + k. kk divides 100+k100 + k iff kk divides 100100, and with k<10k < 10 we get k=1,2,4,5k = 1, 2, 4, 5.

From A100+kkA \mid \frac{100 + k}{k} and 10A<100k10 \leq A < \frac{100}{k} we get (k,A)=(2,17),(4,13)(k, A) = (2, 17), (4, 13) and we get n=1734,1352n = 1734, 1352.

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.