Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 5.3.9 (Every integer $n$ can be expressed in the form $n = x^2 + y^2 - z^2$)
Exercise 5.3.9 (Every integer $n$ can be expressed in the form $n = x^2 + y^2 - z^2$)
Prove that every integer can be expressed in the form .
Answers
Proof. If is odd, or if , then has a solution by Problem 7, so can be expressed in the form , with .
It remains the case . Then is odd, and the same Problem shows that there is a solution to , so can be expressed in the form , with . □