Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 3.7.6 (Representations of $p$ by forms of discriminant $-23$)
Exercise 3.7.6 (Representations of $p$ by forms of discriminant $-23$)
Show that any positive definite quadratic form of discriminant is equivalent to exactly one of the forms , or . Show that if then is not represented by any of these forms. Show that if then has a total of representations by these forms. Show that in the latter case either has representations by (*) or representations apiece by and . Determine which of these cases applies when .
Hint. Find such that , and then reduce the form .
(*) Typo corrected (R.G.)
Answers
Proof.
- (a)
-
Let
a reduced positive definite quadratic form of discriminant
. By Theorem 3.19,
, thus
or
.
If , then , and , thus is odd, so , and , which gives .
If , then , and is odd, thus , and , so or . These three reduced forms are primitive, so
By Theorem 3.25, these three forms are not equivalent. Since every form of discriminant is equivalent to a reduced form, is primitive, and equivalent to exactly one of the forms .
- (b)
- Let be a prime number such that . Then , and satisfies and . Then Corollary 3.14 shows that is not represented by any form of discriminant , so is not represented by .
- (c)
-
The prime
is not represented by
, and has two representations apiece by
and
. We suppose now that
is an odd prime.
Assume now that . By Corollary 3.14, there is a binary quadratic form of discriminant that represents . Since is properly equivalent to , or , is represented by one of these three forms.
By the last formula of section 3.7, applied to ,
where , and by Theorem 3.26, .
By definition,
Since , the congruence has two solutions, and the congruence has also solutions, so the congruence has solutions, so , therefore
Since every representation of the prime is proper, we can write this formula in the form
which means that has a total of representations by the forms .
Since , there are as many representations of by and , so
Put . Then . The only solutions of are and . Since , is impossible, so the only possibilities are
- (d)
-
Consider the example
. Following the hint, we search a solution of the congruence
. The Tonelli-Shanks algorithm gives a square root of
modulo
:
Moreover
A solution of the system of congruence
is (since ), thus
( Check: .) Now we take such that the form satisfies , which gives , so
Now we reduce with the usual algorithm (see the program given in the notes of Problem 3.6.4.) We obtain
Thus
where .
Verification:
So and are properly equivalent. Since is represented by , we obtain that is represented by the equivalent form . By part (c), we obtain that has two representations apiece by and and no representation by .
Explicitly, , so
□