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 n can be expressed in the form n = x 2 + y 2 z 2 .

Answers

Proof. If n is odd, or if n 0 ( mod 4 ) , then n = y 2 z 2 has a solution by Problem 7, so n can be expressed in the form n = x 2 + y 2 z 2 , with x = 0 .

It remains the case n 2 ( mod 4 ) . Then n 1 is odd, and the same Problem shows that there is a solution to n = 1 2 + y 2 z 2 , so n can be expressed in the form n = x 2 + y 2 z 2 , with x = 1 . □

User profile picture
2025-04-05 09:53
Comments