Skip to main content
OlympiadHQ

Browse · MathNet

Print

Mongolian Mathematical Olympiad

Mongolia number theory

Problem

Denote for any whole number . Prove that if for any whole number the relation , (where are relatively prime) holds then is divisible by .
Solution
If rational numbers satisfy the conditions and , then we write . Then our task is to show .



Proposition 2:

By proposition 2, it follows .

By Fermat's theorem we can write , , . Thus we have and the problem is solved.

Techniques

Fermat / Euler / Wilson theoremsPolynomials mod p