Maths Olympiad Prep

Track / Stage 6 / 135 of 400 #1135 of 1964

Problem 1135

National olympiad, first round
Number theory Difficulty 6.2 Prove it

10. Let pp be a prime, δp(a)=h\delta_{p}(a)=h. Prove:
(i) If 2h2 \mid h, then ah/21(modp)a^{h / 2} \equiv -1 \pmod{p};
(ii) If 4h4 \mid h, then δp(a)=h\delta_{p}(-a)=h;
(iii) If 2h,4h2 \mid h, 4 \nmid h, then δp(a)=h/2\delta_{p}(-a)=h / 2.

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

10. (i) From pah/21,pah1=(ah/21)(ah/2+1)p \nmid a^{h / 2}-1, p \mid a^{h}-1=\left(a^{h / 2}-1\right)\left(a^{h / 2}+1\right), we get the result.
(ii) From (i), we have (a)h/2ah/21(modp)(-a)^{h / 2} \equiv a^{h / 2} \equiv-1(\bmod p). Let h=δp(a)h^{\prime}=\delta_{p}(-a). We have h/2=h / 2= δp(a2)=δp((a)2)=h/(h,2)\delta_{p}\left(a^{2}\right)=\delta_{p}\left((-a)^{2}\right)=h^{\prime} /\left(h^{\prime}, 2\right). From this and hh/2h^{\prime} \neq h / 2, we get h=hh^{\prime}=h.
(iii) In this case, (a)h/2ah/21(modp)(-a)^{h / 2} \equiv-a^{h / 2} \equiv 1(\bmod p). From this and the argument in (ii), we get h=h/2h^{\prime}=h / 2.

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