Pythagorean Triples Calculator

The applet below makes use of the three parameter family of formulas for the pythagorean triples

a = (N2 - M2)·k,
b = 2NM·k,
c = (N2 + M2)·k.

N is supposed to be greater than M so that a is always positive. For k = 1, the numbers a, b, c may be mutualy prime, in which case the triple (a, b, c) is called primitive.


If you are reading this, your browser is not set to run Java applets. Try IE11 or Safari and declare the site https://www.cut-the-knot.org as trusted in the Java setup.

Pythagorean Triples Calculator


What if applet does not run?

Explanation

(There is a different, more geometric, illustration of the process of computing Pythagorean triples.)


[an error occurred while processing this directive]

|Activities| |Contact| |Front page| |Contents| |Algebra|

Copyright © 1996-2018 Alexander Bogomolny

[an error occurred while processing this directive]
[an error occurred while processing this directive]