Skip to main content
OlympiadHQ

Browse · MathNet

Print

2011 China Western Mathematical Olympiad

China 2011 number theory

Problem

Determine, with proof, all pairs of integers, such that for any positive integer , one has .
Solution
The solution pairs consist of and .

If one of and is , it is obvious that the other is also .

Now we assume that , select a large prime such that , it follows from Fermat's little theorem that As and , we have .

Then we select another prime such that and . Let , then we have It follows from As , and , it follows that , i.e. , and so .

In conclusion, there are only two solution pairs and .
Final answer
[(0, 0), (-1, -1)]

Techniques

Fermat / Euler / Wilson theoremsPrime numbersFactorization techniques