Maths Olympiad Prep

Track / Stage 4 / 75 of 340 #335 of 1964

Problem 335

AMC 12 late, AIME early
Number theory Difficulty 4.7 Prove it Kanada · Canada · 2011

Consider 70-digit numbers nn, with the property that each of the digits 1,2,3,,71, 2, 3, \dots, 7 appears in the decimal expansion of nn ten times (and 88, 99, and 00 do not appear). Show that no number of this form can divide another number of this form.

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

Assume the contrary: there exist aa and bb of the prescribed form, such that bab \ge a and aa divides bb. Then aa divides bab-a.

Claim: aa is not divisible by 33 but bab-a is divisible by 99. Indeed, the sum of the digits is 10(1++7)=28010(1 + \cdots + 7) = 280, for both aa and bb. [Here one needs to know or prove that an integer nn is equivalent to the sum of its digits modulo 33 and modulo 99.]

We conclude that bab-a is divisible by 9a9a. But this is impossible, since 9a9a has 7171 digits and bb has only 7070 digits, so 9a>b>ba9a > b > b-a. \square

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