Close

Binary Quadratic Forms - Equivalent Classes

Returns all the reduced binary quadratic forms and the class number for a given (negative)discriminant.
Imprimitive forms, when present, are counted as well.