Chapter 13 Sums of Squares
Question 13.0.1.
Take a positive integer n and try to write it as n=a2+b2 for a,b∈Z. For which n is this possible, for which is it not?
Historical remark 13.0.2. Albert Girard.
Girard is an interesting figure, less well-known than his contemporaries. He apparently was the first to use our modern notation for trigonometric functions, and spent his adult life in the Netherlands escaping religious persecution as a Protestant in France.
Historical remark 13.0.3. Leonhard Euler.
Euler is well known for being a rather conventional religious family man amidst the Enlightenment court of Frederick the Great, and for taking a lot of teasing from Voltaire and the king (among other things, for being partly blind at the time). See [E.5.6] for much more about him and his work 1 , or simply browse the Euler Archive.
There is a lot more to say about someone universally acknowledged as one of the greatest mathematicians of all time, but we already have plenty of Euler's work in this book for you to peruse.
Historical remark 13.0.4. Pierre de Fermat.
We've already seen Fermat's work several times (such as Subsubsection 3.4.3.2, Theorem 7.5.3, and Subsection 12.1.1), and we'll see another glimpse of him in Question 15.6.5. About the man himself we know less, mostly that he was a jurist in southern France who didn't travel much, but corresponded a fair amount about his mathematics, which included prototypes for both differential and integral calculus! As with most things about Fermat's personal life, it's less well known that he also had a religious side; in [E.7.12] a well-known classicist translates a moving poem about the dying Christ written in honor of one of Fermat's friends.
Are any special types of numbers easier to write in this way than others?
Is there any way of generating new such numbers from old ones?
If some types of numbers are not a sum of squares, how might you prove this?
Question 13.0.5.
Assuming you can indeed write it in this way, how many ways you can write a number as a sum of squares?