Maths Olympiad Prep

Library / /461 of 520

Number theory Difficulty 7.0 National olympiad, round 2 Prove it

12. Let m3,(a,m)=1,am \geqslant 3, (a, m)=1, a be a quadratic residue modulo mm. Prove: The congruence x2a(modm)x^{2} \equiv a(\bmod m) has exactly two solutions if and only if: mm has a primitive root.

Solution

12. Proof: The sufficiency has been proved in the previous problem. Below, we only prove the necessity.

Let m3,(a,m)=1m \geqslant 3, (a, m)=1, and x2a(modm)x^{2} \equiv a(\bmod m) has exactly two solutions. We need to prove that m\boldsymbol{m} must have a primitive root. We use proof by contradiction. Assume mm does not have a primitive root. From the discussion in Chapter §1\S 1 —§4, mm must not be of the following forms:
2,4,ps,2ps(p3,s1)2,4, p^{s}, 2 p^{s} \quad(p \geqslant 3, s \geqslant 1)

Thus, m5m \geqslant 5, and mm must be one of the following forms:
(1) m=2b,b3m=2^{b}, b \geqslant 3,
(2) m=2cpx,α1,c2m=2^{c} p^{x}, \alpha \geqslant 1, c \geqslant 2,
(3) m=2cp1x1psxs,c0,s2,αi1(1is),pi3(1is)m=2^{c} p_{1}^{x_{1}} \ldots p_{s}^{x_{s}}, c \geqslant 0, s \geqslant 2, \alpha_{\mathrm{i}} \geqslant 1(1 \leqslant i \leqslant s), p_{i} \geqslant 3(1 \leqslant i \leqslant s).

First, consider case (1). In this case,
x21(mod2b)x^{2} \equiv 1\left(\bmod 2^{b}\right)

Besides x1,1x \equiv 1, -1, there are at least two other solutions x2b11,2b1+1x \equiv 2^{b-1}-1, 2^{b-1}+1, which are clearly pairwise incongruent (mod2b)\left(\bmod 2^{b}\right). Therefore, case (1) is impossible.

Next, consider case (2). Since c2c \geqslant 2, we have
x21(mod2)x^{2} \equiv 1(\bmod 2)

which has at least two solutions x1,x2x_{1}, x_{2} that are incongruent mod2\bmod 2.
We also know that
x21(modpx)x^{2} \equiv 1\left(\bmod p^{x}\right)

has two solutions y1,y2y_{1}, y_{2} that are incongruent modpα\bmod p^{\alpha}. Solving
(using the Chinese Remainder Theorem) gives
x21(mod2cpx)x^{2} \equiv 1\left(\bmod 2^{c} p^{x}\right)

four solutions (mod2cpx)\left(\bmod 2^{c} p^{x}\right), which are clearly pairwise incongruent (mod2cpx)\left(\bmod 2^{c} p^{x}\right). Therefore, case (2) is also impossible.

Finally, consider case (3). Using the same method as in case (2), we can prove that in this case,
x21(modm)x^{2} \equiv 1(\bmod m)

has more than 2 solutions that are pairwise incongruent (modm)(\bmod m). Therefore, case (3) is also impossible. In any other case, mm must have a primitive root, which completes the proof.
{x3x2(mod2c),x3y1(modpx),{xˉ4x2(mod2c),xˉ4y2(modpx),\begin{array}{l} \left\{\begin{array} { l } { \overline { x } _ { 3 } \equiv x _ { 2 } ( \operatorname { m o d } 2 ^ { c } ) , } \\ { \overline { x } _ { 3 } \equiv y _ { 1 } ( \operatorname { m o d } p ^ { x } ) , } \end{array} \quad \left\{\begin{array}{l} \bar{x}_{4} \equiv x_{2}\left(\bmod 2^{c}\right), \\ \bar{x}_{4} \equiv y_{2}\left(\bmod p^{x}\right), \end{array}\right.\right. \end{array}

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.