Homepage Solution manuals Ivan Niven An Introduction to the Theory of Numbers Exercise 1.3.12 (If $x$ and $y$ are prime to $3$, $x^2 + y^2$ cannot be a perfect square)

Exercise 1.3.12 (If $x$ and $y$ are prime to $3$, $x^2 + y^2$ cannot be a perfect square)

If x and y are prime to 3 , prove that x 2 + y 2 cannot be a perfect square.

Answers

Proof. Assume for contradiction that x and y are prime to 3 , and that x 2 + y 2 = z 2 is a perfect square. Then x ± 1 ( mod 3 ) , and y ± 1 ( mod 3 ) , thus x 2 y 2 1 ( mod 3 ) . Therefore

z 2 = x 2 + y 2 2 ( mod 3 ) .

But this is impossible, because the square of any integer is of the form 3 k or 3 k + 1 , but not of the form 3 k + 2 (see Problem 1.2.22). □

User profile picture
2024-10-03 10:23
Comments