I'm studying for an exam and came across this problem:
Solve $x^2 \equiv5\pmod {35}$
This is what I ended up with:
$x^2 \equiv 0\pmod 5$
$x^2 \equiv 5\pmod 7$
$5\mid x^2 \implies 5\mid x\cdot x\implies 5\mid x ⇒ x \equiv 0\pmod 5$
$7\mid x^2 - 5 \implies 7\mid(x -\sqrt{5})(x +\sqrt{5})\implies$ ???
I assume this means there is no solution to the congruence, but am not certain. Is there any way you could use the Chinese Remainder Theorem to solve this? What if it was $x^2≡ 3$ (mod $35$) instead? I assume there is the same exact issue. Thanks!
Hint:
Working all through the following modulo $\;7\;$ (without using quadratic reciprocity) :
$$0^2=0\;,\;1^2=1\;,\;2^2=4\;,\;3^2=2\;,\;4^2=2\;,\;5^2=4\;,\;6^2=1\;,\;$$ but
$$x^2=5\pmod {35}\implies x^2=5\pmod 7\;\ldots\ldots$$