where is the Jacobi symbol (or Legendre symbol).
The following is an equivalent formulation of the Law of Quadratic Reciprocity: