Pythagoras triples numbers generator
Max value of the hypotenuse c:
Primitive triples
Complete triples
k - is the multiplying factor if k = - then triple value is primitive.
Pythagorean triples
Pythagorean theorem states that in a right triangle the sides are related to each other by the equation:
A pythagorean triple is a set of integer numbers that fulfills equation 1. for example the set: a = 3, b = 4, c = 5.
One way to find the triple values is by using the Euclid' s formula:
m and n are integers such that n
>
m.
If n ⎯ m is odd and m and n are coprime (can not be divided by a common factor) the result of the Euclid' s formula yields all triples that are said to be primitive.
Because the result of multiplying a,b and c by a common factor is also a pytagorean triple, the more complete equation is:
Where k is an integer k = 2, 3 …. and n ⎯ m is odd and m and n are coprime.