Exercises 13.7 Exercises
1.
Prove that if then cannot be written as a sum of two squares (13.1.1).
2.
Prove Fact 13.1.2.
3.
Show that if then cannot be written as a sum of three perfect squares. (See also Exercise 14.4.6.)
4.
Find two numbers that can be written as a sum of three squares in two essentially different ways (not just or even ). (See also Exercise 14.4.4.)
5.
Find as many integers as possible which are only writeable as a sum of squares via i.e. is not writeable as a sum of distinct squares.
6.
Verify Fact 13.1.7 by hand (i.e. write all the algebra out).
7.
Let be the number of different ways to write as a sum of two squares, where every different way (not just essentially different) is counted. For instance,
Prove that
Let be odd, and let and where the pairs and are both positive and not the same or just switched in order. Verify the following to finish the proof of Fact 13.2.1.
8.
It's okay to assume that and are odd and and are even, with and
9.
If this is the case, show that and are both even.
10.
Assuming the previous two exercises, show that and
11.
Assuming everything else works, show that is in fact the product of the terms in question; this will involve a fair amount of cancellation!
12.
Using the tools of this chapter, for each of the numbers and either write it as a sum of two perfect squares or explain why it is impossible to do so.
Pick four random (to you) three digit numbers which are not of the form
13.
Decide whether these numbers are a sum of two squares without using Sage.
14.
Pick two of those numbers and write them in all possible ways as a sum of two squares.
15.
Show a positive integer is the difference of two squares if and only if (mod ).
16.
Prove that if (mod ), then cannot be written as a sum of two squares.
17.
Is there any congruence condition modulo for which a number cannot be written as a sum of two squares?
18.
Referring to the proof of the main theorem (especially in Subsection 13.4.3): Check that the pictures you get from some other primes with these lattices really work.
19.
The set is finite. Try figuring out what is for or the smallest such primes.
20.
Each has exactly one of the three things to go to.
21.
The function in question is an involution. That is, if you take the output and apply the function a second time, you get your original back (this is a little tougher).
22.
If goes to then it turns out that (you will probably need to use the definition of for this, and remember that we assume (mod ).
23.
That if the map has a point which is fixed (the output is same as input) then this, combined with the definition of means that is writeable as the sum of two squares.
24.
Prove the assertion about in Remark 13.3.4.