Exercises 13.7 Exercises
ΒΆ1.
Prove that if nβ‘3 (mod 4), then n cannot be written as a sum of two squares (13.1.1).
2.
Prove Fact 13.1.2.
3.
Show that if nβ‘7 (mod 8), then n 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 12+02+02=02+12+02 or even 32+42+12=02+52+12). (See also Exercise 14.4.4.)
5.
Find as many integers n as possible which are only writeable as a sum of squares via n=a2+a2=2a2, i.e. n 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 r2(n) be the number of different ways to write n as a sum of two squares, where every different way (not just essentially different) is counted. For instance,
Prove that
8.
It's okay to assume that a and c are odd and b and d are even, with aβ₯c and dβ₯b.
9.
If this is the case, show that k=gcd(aβc,dβb) and n=gcd(a+c,d+b) are both even.
10.
Assuming the previous two exercises, show that aβck=d+bn and dβbk=a+cn.
11.
Assuming everything else works, show that N 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 5095, 5096, 5097, 5098, and 5099, either write it as a sum of two perfect squares or explain why it is impossible to do so.
15.
Show a positive integer k is the difference of two squares if and only if kβ’2 (mod 4).
16.
Prove that if nβ‘12 (mod 16), show that n cannot be written as a sum of two squares.
17.
Is there any congruence condition modulo 6 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 S is finite. Try figuring out what S is for p=5 or p=13, the smallest such primes.
20.
Each (x,y,z) 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 (x,y,z) back (this is a little tougher).
22.
If (x,y,z) goes to (x,y,z) then it turns out that (x,y,z)=(1,1,pβ14) (you will probably need to use the definition of S for this, and remember that we assume pβ‘1 (mod 4)).
23.
That if the map (x,y,z)β(x,z,y) has a point which is fixed (the output is same as input) then this, combined with the definition of S, means that p is writeable as the sum of two squares.