Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 3.6.12 (The integers $4^m(8k+7)$ are not sums of three squares)
Exercise 3.6.12 (The integers $4^m(8k+7)$ are not sums of three squares)
Show that if and , then , and are even. Deduce that if is of the form then is not the sum of three squares. (Gauss proved that all other positive integers can be expressed as sum of three squares.)
Answers
Proof.
- (a)
- If and , then . Suppose for the sake of contradiction that is odd. Then , thus . But or and or , thus . This contradiction shows that is even, and with the same arguments, and are even.
- (b)
-
We prove by induction the property
- By Problem 11, we know that every of the form is not the sum of three squares. Thus is true.
- Suppose that is true, so that is never the sum of three squares, whatever the value of the integer . Let be an integer of the form . Suppose for the sake of contradiction, that for some integers . Since , then and are even by part (a). Thus , where are integers. This contradicts the induction hypothesis . Therefore is not the sum of three squares, so is true.
-
The induction is done, so
We conclude that if is of the form then is not the sum of three squares.