Algebra

Pythagorean Triple

Pythagorean triples are integer solutions (x,y,z) of the equation

x2 + y2 = z2 ,

standing for the sides of right-angled triangles.

The program computes all coprime Pythagorean triples not bigger than a determined number.

Example:

With x, y, z < 60 you get:

(  3,  4,  5 )    (  5, 12, 13 )
(  8, 15, 17 )    (  7, 24, 25 )    
( 20, 21, 29 )    (  9, 40, 41 )    
( 12, 35, 37 )    ( 28, 45, 53 ) 

An application of Pythagorean triples is the twelve-knot cord, with which a right-angled triangle of sides 3, 4 and 5 can be marked.

See also:

Wikipedia: Pythagorean triple | Pythagorean theorem | Knotted Cord
eng.matheass.eu