Skip to main content
OlympiadHQ

Browse · MathNet

Print

Estonian Mathematical Olympiad

Estonia number theory

Problem

Is there a positive integer such that divides ?
Solution
Taking gives , so divides .

We consider divisibility by and by separately. By Fermat's little theorem, we have , whereas . In summary , meaning that divides . As divides both and , it divides the sum . Thus divides , as desired.
Final answer
n = 10

Techniques

Fermat / Euler / Wilson theoremsChinese remainder theorem