Skip to main content
OlympiadHQ

Browse · MathNet

Print

China Mathematical Competition (Hainan)

China number theory

Problem

Let be an odd prime. Let be a positive integer such that is also a positive integer. Then .
Solution
Set , . Thus , and , which implies that is a perfect square, say , where . So .

Since is a prime and , we have Solve the equations above and we get

Consequently, . Thus (the negative value is omitted).
Final answer
(p+1)^2/4

Techniques

Factorization techniquesTechniques: modulo, size analysis, order analysis, inequalities