Skip to main content
OlympiadHQ

Browse · MathNet

Print

70th NMO SELECTION TESTS FOR THE BALKAN AND INTERNATIONAL MATHEMATICAL OLYMPIADS

Romania number theory

Problem

Given an integer , determine all positive integers satisfying
Solution
The required numbers are .

For every integer , let denote the least prime divisor of . We show that, if and are integers greater than , and , then . Since is odd, , and since , it follows that . Notice that , since , to infer that has a prime divisor not exceeding , and conclude thereby that .

Suppose now, if possible, that . Then , so , and so on and so forth all the way down to . Hence which is a contradiction. Consequently, , so , and so on and so forth all the way up to .
Final answer
n1 = n2 = ... = nk = 1

Techniques

Fermat / Euler / Wilson theoremsMultiplicative orderPrime numbers