Browse · MathNet
PrintSelection tests for the Balkan Mathematical Olympiad 2013
Saudi Arabia 2013 number theory
Problem
Find all positive integers for which divides .
Solution
Because , we will find all positive integers such that both and divide . Let be such an integer. We have Hence, divides if and only if or . On the other hand, we have Hence, divides if and only if or . Using the fact that and , we consider the following four cases:
1. If and . There exists an integer such that But . We deduce that .
2. If and . There exists an integer such that But . We deduce that .
3. If and . There exists an integer such that But . We deduce that .
4. If and . There exists an integer such that But . We deduce that .
Therefore, the possible values for are , , , and .
1. If and . There exists an integer such that But . We deduce that .
2. If and . There exists an integer such that But . We deduce that .
3. If and . There exists an integer such that But . We deduce that .
4. If and . There exists an integer such that But . We deduce that .
Therefore, the possible values for are , , , and .
Final answer
87, 273, 315, 501
Techniques
Chinese remainder theoremInverses mod nPolynomials mod pFactorization techniques