Maths Olympiad Prep

Track / Stage 7 / 181 of 300 #1581 of 1964

Problem 1581

National olympiad second round; IMO P1/P4
Number theory Difficulty 7.3 Prove it

Theorem 7 If np1n \mid p-1, then the necessary and sufficient condition for the congruence equation (22) to have a solution is
a(p1)/n1(modp)a^{(p-1) / n} \equiv 1(\bmod p)

and when there is a solution, the number of solutions is nn.

This one wants a proof. Work it on paper, then read the official solution and mark yourself. Be honest about it: the record is only any use to you if it is.

Official solution

Necessity: If x0x_{0} is a solution of (22), then from pap \nmid a we know px0p \nmid x_{0}. This, together with Fermat's Little Theorem, leads to
a(p1)/n(x0n)(p1)/nx0p11(modp)a^{(p-1) / n} \equiv\left(x_{0}^{n}\right)^{(p-1) / n} \equiv x_{0}^{p-1} \equiv 1(\bmod p)

Sufficiency: If equation (23) holds, then we have
xp11=(xn)(p1)/na(p1)/n+a(p1)/n1=(xn)(p1)/na(p1)/n+pc,\begin{aligned} x^{p-1}-1 & =\left(x^{n}\right)^{(p-1) / n}-a^{(p-1) / n}+a^{(p-1) / n}-1 \\ & =\left(x^{n}\right)^{(p-1) / n}-a^{(p-1) / n}+p \cdot c, \end{aligned}
where cc is an integer. From this, we know there must be an integer-coefficient polynomial q(x)q(x) such that
xpx=(xna)q(x)+pcx.x^{p}-x=\left(x^{n}-a\right) q(x)+p \cdot c x.

From this and Theorem 5, it follows that (22) has a solution and the number of solutions is nn (in fact, from the first equation of (24) and Theorem 5, the necessity is also derived).

In the example given above for modulo 11, n=2,5n=2,5 are cases of Theorem 7, and the actual calculations match the conclusions. For the case n=2n=2, Theorem 7 is Theorem 2 in §5\S 5.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.