Pythagorean triple
From Algorithmist
[edit] Definition
A Pythagorean triple is a solution (x,y,z) of the equation x2 + y2 = z2, in which x, y and z are positive integers.
A Pythagorean triple is called primitive, if gcd(x,y,z) = 1.
[edit] Properties
All primitive Pythagorean triples are given by:
where m and n are relatively-prime positive integers, and m > n.
Every non-primitive Pythagorean triple is some positive integer multiple of a primive triple.
[edit] External references
- MathWorld's article
- Cut-the-knot's article

