Write . Two integral binary quadratic forms and are equivalent if there is a matrix
such that
Equivalently, the group acts on forms by integral unimodular changes of variables.
Suppose is obtained from by such a change of variables. Expanding shows that each of is an integer linear combination of . Therefore every common divisor of divides .
The inverse of a matrix in again has integral entries and determinant one. Applying the same argument to shows that every common divisor of divides . The two coefficient triples consequently have the same greatest common divisor, up to sign, so one form is primitive exactly when the other is.
Every proper equivalence class of a positive definite form contains a unique reduced form , where
with when equality occurs in either inequality. Its discriminant is
For a reduced positive definite form, , so . Also is even and
Checking the finitely many possibilities with gives
Each coefficient triple has greatest common divisor one. By uniqueness of reduced representatives, these are four distinct classes. Hence the requested number is

Articles by others on the same topic (0)

There are currently no matching articles.