If you are given one number of a triple, you can construct two other numbers of the triple.
If the number is odd, follow the following steps.
- Take an odd number greater than 1.This is the first number of the triple.
- Square the odd number.
- Subtract 1and divide by 2, from the step 2.This will be the second number of the triple.
- Add 1 to the step 3.This will be the third number of the triple.
Example:-
Suppose the first number of the triple is 3.
Square of 3 is 9.
According to the step3, by subtracting 1, and dividing by 2 we get (9-1)/2=4.
This will be the second number of the triple.
By adding 1, we get 4+1=5.This is the third number of the triple.
Hence, 3, 4, 5 is a Pythagorean triple.
------------------------------------------------------------------------------------------------------------------------
If the number is even, follow the following steps.
- Take an even number greater than 2.This is the first triple number.
- Square the number.
- Divide by 4and subtract 1.This is the second number of the triple.
- Add 2 to the result of step 3.this will be the third number of the triple.
Example:-
Suppose the first number of the triple is 4.
Square of 4 is 16.
Divide it by4, and then subtract 1 we will get 3 .This is the second number of the triple.
Add 2 to the above result.3+2=5.This will be the third number of the triple.
Hence 4, 3, 5 is a Pythagorean triple.
Take more examples and find out the triples.
No comments:
Post a Comment