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 is any integer , show that there is a Pythagorean triple with as one of its members
Answers
Note that is always member of the Pythagorean triple , so we show that there is a positive Pythagorean triple with as one of its members.
Proof.
Suppose that .
-
If is odd, then by Problem 7,
so is a (positive) Pythagorean triple with as one of its members.
-
If is even, then , thus
so is a (positive) Pythagorean triple with as one of its members.
Examples: For , we obtain the triple , and for , we obtain (not primitive). □