Method to solve quadratic congruence

771 Views Asked by At

I learned quadratic congruence by myself and stuck in these problems:

  1. I know if quadratic congruence $X^2=a(\mod\mbox{ p} )$ with $p$ is an odd prime number and $\gcd(a,p)=1$, then it has no solution or has exactly two solutions. So, what is Theorem/Lemma that guarantee a quadratic congruence has solutions?

  2. For linear congruence, we can use the extended Euclidean algorithm to find solution of linear congruence. So my question, what is method to find solution of quadratic congruence?

I would really appreciate if anyone could help me out here

1

There are 1 best solutions below

0
On

The main result about this matter is the Quadratic reciprocity's Law. You should learn also about Jacobi symbol.