Prime representation when h of minus eight q equals two Created 2026-09-24 Updated 2026-11-05
Suppose is a prime number with and . For each prime number , there is an integer representationexactly when and as a Legendre symbol.
Necessity follows directly. Modulo , is a nonzero square. Since is odd, is odd, so modulo eight the value is one when is even and seven when is odd, using .
Conversely, the two conditions giveby quadratic reciprocity and the second supplementary law for quadratic reciprocity. The discriminant criterion for prime representation by a binary quadratic form therefore gives a primitive positive definite form of discriminant representing .
By two distinguished classes of discriminant minus eight q and the hypothesis , it reduces to or . Any odd value of the second form has odd , and is three or five modulo eight. It cannot represent this , so the first form must. For , the two reduced forms of discriminant are and ; the permitted prime seven is .