Skip to main content
OlympiadHQ

Browse · MathNet

Print

HongKong 2022-23 IMO Selection Tests

Hong Kong 2022 number theory

Problem

Let be a positive integer. Show that if is a prime dividing , then .
Solution
Clearly, . Let . Then This gives . Using the Legendre symbol, we have . On the other hand, we have As above, this implies . It follows that Therefore, .

Techniques

Quadratic residuesInverses mod n