Pythagorean Triples Calculator
Test three numbers, or list the Pythagorean triples up to a size.
A whole number from 5 to 1000.
Which triples
Primitive triples have no common factor.
Try
Result
You entered
Count
Show the work
Euclid's formula
Every primitive Pythagorean triple comes from two whole numbers with no common factor, one even and one odd. The formula gives the legs and and the hypotenuse ; keeping leaves 5 primitive triples.
Using
Result
So there are 5 primitive triples with hypotenuse up to 30.