Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 1.3.11 (If $x$ and $y$ are odd, $x^2 + y^2$ cannot be a perfect square)
Exercise 1.3.11 (If $x$ and $y$ are odd, $x^2 + y^2$ cannot be a perfect square)
If and are odd, prove that cannot be a perfect square.
Answers
Proof. Assume for contradiction that is the square of , where are odd.
Then for some integer , thus . Similarly, . Therefore
Thus , therefore , and , so . We obtain and : this is absurd. Therefore, if and are odd, cannot be a perfect square. □