Let be an odd prime and let be an integer congruent to zero or one modulo four. Some integral binary quadratic form of discriminant of a binary quadratic form represents if and only if is a square modulo .
For necessity, a representing vector must have , since a common divisor greater than one would make its square divide . Bézout's identity completes this vector to the first column of a determinant-one integer matrix. Under that proper equivalence, the leading polynomial coefficient becomes , so the transformed form is . Its discriminant gives .
Conversely, choose a root modulo and adjust its parity so . Adding changes parity because is odd. Then
has integer polynomial coefficients, discriminant and value at . If , it is positive definite. If , it is also a primitive binary quadratic form: a common divisor of its coefficients would have to be , contradicting .
The conclusion concerns some form, not every form of that discriminant. For , the construction gives , which represents three. The same-discriminant form does not represent three. Deciding the particular form requires the proper equivalence classes, not only the local square test. When , imprimitive forms can occur, so primitiveness must be checked separately.

Articles by others on the same topic (0)

There are currently no matching articles.