Maths Olympiad Prep

Library / /504 of 520

Number theory Difficulty 7.5 National olympiad, round 2 Prove it

16. Prove: (i) When the prime p=4m+3,(ap)=1p=4 m+3,\left(\frac{a}{p}\right)=1, x0=±am+1x_{0}= \pm a^{m+1} is a solution to x2a(modp)x^{2} \equiv a(\bmod p);
(ii) When p=8m+5,(ap)=1p=8 m+5,\left(\frac{a}{p}\right)=1, x0=±23m+1am+1(22m+1+a2m+1)x_{0}= \pm 2^{3 m+1} a^{m+1}\left(2^{2 m+1}+a^{2 m+1}\right) is a solution to x2a(modp)x^{2} \equiv a(\bmod p);
(iii) When p=8m+1,(ap)=1p=8 m+1,\left(\frac{a}{p}\right)=1, if a bb is known such that (bp)=1\left(\frac{b}{p}\right)=-1, can the solution to x2a(modp)x^{2} \equiv a(\bmod p) be found?

Solution

16. (i) Use Euler's criterion.
(ii) Use Euler's criterion and (2p)=1\left(\frac{-2}{p}\right)=-1. The solutions can be written separately as: when a2m+11a^{2 m+1} \equiv 1 (modp)(\bmod p), x0=±am+1x_{0}= \pm a^{m+1}; when a2m+11(modp)a^{2 m+1} \equiv-1(\bmod p), x0=±22m+1am+1x_{0}= \pm 2^{2 m+1} a^{m+1}.
(iii) Using the same method as (ii), the role of bb is equivalent to 2 in (ii). Let p=2ln+1,l3,2np=2^{l} n+1, l \geqslant 3,2 \nmid n. We have a2l1±1(modp)a^{2^{l-1}} \equiv \pm 1(\bmod p) and b2l1n1(modp)b^{2^{l-1} n} \equiv-1(\bmod p). It follows that there must be a non-negative integer s1s_{1} such that a2l2nbs12l11(modp)a^{2^{l-2} n} \cdot b^{s_{1} 2^{l-1}} \equiv 1(\bmod p). Therefore, a2l3nb1s12l2±1(modp)a^{2^{l-3} n} b_{1}^{s_{1} 2^{l-2}} \equiv \pm 1(\bmod p). Using bbl1n1(modp)b^{b^{l-1} n} \equiv -1(\bmod p) again, we can deduce: there must be a non-negative integer s2s_{2} such that a2l3nbs22l21(modp)a^{2^{l-3} n} b^{s_{2}} 2^{l-2} \equiv 1(\bmod p), and a2l4nbt22l3±1(modp)a^{2^{l-4} n} b^{t_{2}} 2^{l-3} \equiv \pm 1(\bmod p). This way, we finally get: there exists a non-negative integer sks_{k} such that anb2sk1(modp)a^{n} b^{2 s_{k}} \equiv 1(\bmod p). Therefore, the solution is x0=±a(n+1)/2bskx_{0}= \pm a^{(n+1) / 2} \cdot b^{s} k.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

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