Skip to main content
OlympiadHQ

Browse · MathNet

Print

Saudi Arabian IMO Booklet

Saudi Arabia algebra

Problem

Define and for . Prove that is coprime to for all .
Solution
Consider any prime divisor of . Consider a directed graph with edges on (mod ) connecting if and only if Observe that is connected to (mod ), every element has out-degree 1, and every element other than has in-degree 2 or 0, elements form loops, and . If we have a path , then each of the elements has in-degree two, with at least one having in-degree one, giving edges in total. Counting the four extra edges above, we deduce that , which implies that .

Techniques

Recurrence relationsGreatest common divisors (gcd)Polynomials mod pCounting two ways