I am trying to solve the following problem:
Show that for each $m\in \mathbb{N}$, there exists $n\in \mathbb{N}$ such that $x^2\equiv 1 \pmod n$ has at least $m$ solutions?
I figured that this is equivalent to showing that there is a sequence $n_1,n_2,n_3,\dots$ such that
$$x^2\equiv 1 \pmod {n_1}\qquad x^2\equiv 1 \pmod {n_2}\qquad x^2\equiv 1 \pmod {n_3} \qquad\dots$$
Has an increasing number of solutions. By computation, I figured that this sequence could be
$$n_1=2\qquad n_2 =2\cdot 3\qquad n_3 = 2\cdot 3 \cdot 5\qquad n_4 = 2\cdot 3 \cdot 5 \cdot 7 \qquad \dots $$
Now comes my trouble: I can't figure out why "adding" another prime in each step of the sequence makes more solutions appear. Can you help me?
$$x^2\equiv 1 \pmod 3\ x^2\equiv 1 \pmod 5$$
Using the CRT, right? But the CRT applies only to linear equations, no? I tried to rewrite as:
$$x\equiv x^{-1} \pmod 3\ x\equiv x^{-1} \pmod 5$$
But the result doesn't seem to make sense.
– Red Banana Dec 09 '20 at 07:07$$x^2\equiv 1 \pmod 3\x^2\equiv 1 \pmod 5 $$
From this we get:
$$(x+1)(x-1)\equiv 0 \pmod 3\(x+1)(x-1)\equiv 0 \pmod 5 $$
And hence the solutions to each equation are $x=\pm 1$. Now, we break that into linear systems in the following manner:
$$x+1\equiv 0 \pmod 3 \qquad x-1\equiv 0 \pmod 3 \ x+1\equiv 0 \pmod 5\qquad x+1\equiv 0 \pmod 5 $$
$$x+1\equiv 0 \pmod 3 \qquad x-1\equiv 0 \pmod 3 \ x-1\equiv 0 \pmod 5\qquad x-1\equiv 0 \pmod 5$$
– Red Banana Dec 09 '20 at 08:46