Skip to main content
OlympiadHQ

Browse · MathNet

Print

China Western Mathematical Olympiad

China number theory

Problem

Find all positive integers such that for all positive integers . (posed by Yang Mingliang)
Solution
First, we prove that is even. It follows from the given condition by choosing an even integer .

Next, we prove that has no odd prime factor. Suppose the contrary, let be an odd prime factor of . If , let , then has a factor , but is not divisible by , contradicting to , hence is not .

If , let , then has a factor , but is not divisible by , contradicting , hence is not .

If , let , it follows from Fermat's Little Theorem that . As , so . Moreover, since is even and , so and , and hence does not divide , contradicting .

Finally, we prove that is or . For this, let where is a positive integer, then it follows from and that .

If we choose to be sufficiently large, it follows from the fact that , hence . and are obvious solutions.

If , then by the Binomial Theorem, we have , which is impossible. At last, one can easily check that and satisfy the condition in the problem, so the solutions for are and .
Final answer
a = 2 or a = 4

Techniques

Fermat / Euler / Wilson theoremsPrime numbers