Skip to main content
OlympiadHQ

Browse · MathNet

Print

Turkish Mathematical Olympiad

Turkey number theory

Problem

Let be an integer and be a prime number. Prove that for each is an integer. (Şahin Emrah).
Solution
Let us show that both and divide . By Fermat's little theorem , so , which implies . Therefore, , so .

On the other hand, so . This implies , so . Therefore, .

We complete the solution by showing that and are relatively prime. Since is prime, it is enough to show that is not divisible by . Let

(). and is not divisible by . Now . If , then which is impossible since . Done.

Techniques

Fermat / Euler / Wilson theoremsFactorization techniques