 For these primes formula_8 equals 1, 2, or 0 depending on whether the discriminant is 0, a non-zero square, or a non-square modulo "p".This is accounted for by the use of the Legendre symbol, formula_13.When a prime "p" divides "a" but not "b" there is one root modulo "p".