I've been trying to solve this congruence> $$x^2 \equiv 9\pmod{13}$$
I keep coming back to $x =3$ but it seems to be wrong, any help on what's the correct technique to find the answer?
I've been trying to solve this congruence> $$x^2 \equiv 9\pmod{13}$$
I keep coming back to $x =3$ but it seems to be wrong, any help on what's the correct technique to find the answer?
One way to see this is solving $x^2=9$ over the integers yields $x = \pm 3$. Clearly, $3$ is one solution, and similarly, $-3 \equiv 10 \pmod{13}$ so $10$ is another solution. But if $3$ is a solution, so must be $3+13=16$, etc. Can you find a general form?