Skip to main content
OlympiadHQ

Browse · MathNet

Print

APMO

number theory

Problem

For a positive integer denote by and the sum and product, respectively, of the digits of . Show that for each positive integer , there exist positive integers satisfying the following conditions: (We let .) (Problem Committee of the Japan Mathematical Olympiad Foundation)
Solution
Let be a sufficiently large positive integer. Choose for each , to be a positive integer among whose digits the number appears exactly times and the number appears exactly times, and nothing else. Then, we have and for each , .

Then, we let be a positive integer among whose digits the number appears exactly times and the number appears exactly times, and nothing else. Then, we see that satisfies and .

Such a choice of is possible if we take to be large enough to satisfy and we see that the numbers chosen this way satisfy the given requirements.

Techniques

OtherIntegers