Fundamental discriminant
In mathematics, a fundamental discriminant D is an integer invariant in the theory of integral binary quadratic forms. If Q(x, y) = ax + bxy + cy is a quadratic form with integer coefficients, then D = b − 4ac is the discriminant of Q(x, y). Conversely, every integer D with D ≡ 0, 1 (mod 4) is the discriminant of some binary quadratic form with integer coefficients. Thus, all such integers are referred to as discriminants in this theory. Every discriminant may be written as