Pythagorean Triangles with Consecutive Values
Initializing live version

Requires a Wolfram Notebook System
Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.
This Demonstration shows the values of a right triangle with integer sides for which the difference between the lengths of the hypotenuse and the long leg is equal to one, as well as the more complicated case where the difference between the long leg and the short leg is one.
Contributed by: Enrique Zeleny (March 2011)
Open content licensed under CC BY-NC-SA
Snapshots
Details
The values can be computed from the following expressions; here is a positive integer.
For the first case,
;
.
For the second case,
;
.
Permanent Citation