Skip to main content
OlympiadHQ

Browse · MathNet

Print

Team selection tests for GMO 2018

Saudi Arabia 2018 number theory

Problem

Let be an odd positive integer with and let be positive integers such that . Let . Show that the possible values of are .
Solution
Let be a prime with . We know that for all . If such that , then . Since for all , we find for all , which contradicts to the hypothesis.

Thus we consider the case for all , i.e. . We have the congruences and by multiplying them, we obtain which yields .

This shows that must be a power of . Suppose, now, that . Clearly, must be all odd. We consider two cases

1. If , then such that then which contradicts with .

2. If , then such that then which also contradicts with . (In both cases, we made use of .)

Therefore, or . If are all odd, then must be even, hence . If some of are even and some of them odd, then must be odd, hence . As such, both of these values are realized.
Final answer
d = 1 or d = 2

Techniques

Greatest common divisors (gcd)Prime numbersInverses mod n