Skip to main content
OlympiadHQ

Browse · MathNet

Print

37th Iranian Mathematical Olympiad

Iran number theory

Problem

Let be an odd prime number. Find all -tuples such that
Solution
Assume that . Then obviously can take any value. Now suppose that . We want to prove that . Note that where is common value mod of If we choose such that , then by using or and the above equation we have for each , So if we get Now if then the map is bijective. Hence if is the set of square remainder, define a bijection from to itself and which implies that .
Final answer
For the prime three, any single element works. For primes at least five, all solutions are tuples whose entries are each either 0 or 1 (modulo p^2).

Techniques

Quadratic residuesFermat / Euler / Wilson theoremsRecursion, bijection