For a negative discriminant or , the class number is the number of proper equivalence classes of primitive positive definite integral binary quadratic forms of discriminant . Equivalently, it is the number of reduced primitive forms of discriminant .
Codex Wiki