I am stuck with this exercise:
Show that $\forall s >0 \quad \exists N >0$ such that $$x^2 \equiv 1\pmod N$$ has more than $s$ solutions.
I think I cannot use the theory if quadratic residues, because the modulus is not prime, so maybe I must prove it with square roots or roots of unity, but I don't know how to approach it at all.
Thanks for any help.
Hint:
Consider a square-free integer: $\;N=p_1p_2\dotsm p_r$. By the Chinese Remainder theorem, solving the equation $x^2\equiv 1\pmod N$ is equivalent to solving the set of congruences $$\begin{cases} x^2\equiv 1\pmod{p_1} \\ \quad\enspace\vdots\\x^2\equiv 1\pmod{p_r} \end{cases}\iff \begin{cases} x\equiv\pm 1\pmod{p_1} \\ \quad\,\vdots\\x \equiv \pm1\pmod{p_r} \end{cases}$$ so there are $2^r$ solutions.