Skip to main content
OlympiadHQ

Browse · MathNet

Print

Team selection tests for BMO 2018

Saudi Arabia 2018 number theory

Problem

Find all positive integers such that is a divisor of .
Solution
First assume is a prime number. Thus , implying . We deduce that or .

From now on, assume is composite and set , where is the number of distinct prime divisors of . Since , is even. In particular, the condition shows that is odd and so the 's are all odd. It follows that So is divisible by implying that . Moreover, if then , so , forcing . In this case, and . This shows that . Our discussion shows that if the composite satisfies the problem then or , or for some odd primes . Of course, is a solution of our problem.

- Suppose . Then and . Therefore, , or equivalently . It follows that or . But in both cases, we have , contradiction.

- Suppose , where are odd primes. First, consider the case (the case is of course similar). Then so . It follows that , and , implying or . In this case we obtain a new solution of our problem.

Now, suppose . Thus, so . This shows that . Since so . Set where is a positive integer. Set , , then the above equation reads , or equivalently, By a Vieta jumping technique, we deduce that . Thus, we have But then and the left hand side is , while the right hand side is , contradiction.

Therefore, all numbers satisfy the given condition are .
Final answer
{1, 2, 3, 5, 9, 21}

Techniques

φ (Euler's totient)Greatest common divisors (gcd)Techniques: modulo, size analysis, order analysis, inequalities