Main

 
Pythagorean triples

Calculating Pythagorean Triples from "r"

This calculator factors "r" and creates a list of unique combinations of those factors {the values for (z-x) and (z-y)}. That list is then used to compute the values of (x,y,z)

Based on "TUTORIAL FOR GENERATION OF ALL PYTHAGOREAN TRIPLETS" by Tom Ballard.

Enter the value for r
(must be even):


Format Output

Formula summary:
x = r + (z - y)
y = r + (z - x)
z = r + (z - x) + (z - y)
rē = 2(z - x)(z - y)

Hint:
Try a value with many unique factors, such as 510510 or 9699690
Page last updated 12/14/01
...Back to Dave's Math Page.