Homepage Solution manuals Ivan Niven An Introduction to the Theory of Numbers Exercise 5.3.8 (There is a Pythagorean triple with $n$ as one of its members)

Exercise 5.3.8 (There is a Pythagorean triple with $n$ as one of its members)

If n is any integer 3 , show that there is a Pythagorean triple with n as one of its members

Answers

Note that n is always member of the Pythagorean triple ( n , 0 , n ) , so we show that there is a positive Pythagorean triple with n as one of its members.

Proof.

Suppose that n 3 .

  • If n is odd, then by Problem 7,

    n 2 = ( n 2 + 1 2 ) 2 ( n 2 1 2 ) 2 ,

    so ( n , n 2 1 2 , n 2 + 1 2 ) is a (positive) Pythagorean triple with n as one of its members.

  • If n is even, then n 2 0 ( mod 4 ) , thus

    n 2 = ( ( n 2 ) 2 + 1 ) 2 ( ( n 2 ) 2 1 ) 2 ,

    so ( n , ( n 2 ) 2 + 1 , ( n 2 ) 2 1 ) is a (positive) Pythagorean triple with n as one of its members.

Examples: For n = 5 , we obtain the triple ( 5 , 12 , 13 ) , and for n = 6 , we obtain ( 6 , 8 , 10 ) (not primitive). □

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