Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 5.3.2 (At least one of $x,y$ is divisible by $3$; at least one of $x,y,z$ is divisible by $5$)

Exercise 5.3.2 (At least one of $x,y$ is divisible by $3$; at least one of $x,y,z$ is divisible by $5$)

Prove that if x , y , z is a Pythagorean triple, then at least one of x , y is divisible by 3 , and that at least one of x , y , z is divisible by 5 .

Answers

Proof. Let ( x , y , z ) ∈ ℤ 3 be a Pythagorean triple, so that x 2 + y 2 = z 2 .

(a)
Assume for the sake of contradiction that x ≢ 0 , y ≢ 0 ( mod 3 ) . Then x 2 ≡ y 2 ≡ 1 ( mod 3 ) ,

thus z 2 ≡ 2 ( mod 3 ) . But this is impossible, since 2 is not a square modulo 3 . This contradiction shows that 3 ∣ x or 3 ∣ y .

(b)
Suppose that x ≢ 0 , y ≢ 0 ( mod 5 ) . Then x 2 ≡ ± 1 ( mod 5 ) , y 2 ≡ ± 1 ( mod 5 ) ,

thus z 2 = x 2 + y 2 ≡ 0 , 2 , − 2 ( mod 5 ) . But 2 , − 2 are not squares modulo 5 , therefore z 2 ≡ 0 ( mod 5 ) , so z ≡ 0 ( mod 5 ) . This shows that at least one of x , y , z is divisible by 5 .

□
User profile picture
2025-04-04 08:53
Comments