This section in pdf form. triples1.pdf
If
,
, and
are positive integers and
then the
solution
is a Pythagorean triple. If
then
is a primitive (or reduced) Pythagorean triple,
and the equation
is a primitive Pythagorean
triangle.
Finding primitive Pythagorean
triangles with a given difference between the lengths of the
hypotenuse and a leg is a simple matter; from the parametrization
However, finding Pythagorean triangles with constant difference between the lengths of the two smaller legs leads to a Pell equation,
Hence, if one solution is found, other solutions can be found recursively. From which a closed form can be obtained.
The following scheme does not find solutions for every integer
, only those where
, and not all of those. For
example, in the Pythagorean triangle
, there
exists no integer
such that
, and the scheme does
not generate the triangle
where
.
I'll use the alternative parametrization:
is a primitive
Pythagorean triple if and only if there exists relatively prime,
odd positive integers
and
,
, such that
and
I'll give a closed form for
and
where
. Let
where
and
are positive integers. Set
![]() |
||
![]() |
||
![]() |
||
| (from (i) |
||||
So the claim is true for
Assume it's true for
. That is, assume
Then, for
![]() |
||
![]() |
||
![]() |
||
![]() |
||
![]() |
||
|
|