Special right triangle than 256: Isosceles right-angled triangles cannot have sides with integer values, because the ratio of the hypotenuse to either other side is , but cannot be expressed as a ratio of two integers. However, infinitely many "almost-isosceles" right triangles do exist. These are right-angled triangles with integral sides for which the lengths of the non-hypotenuse edges differ by one. Such almost-isosceles right-angled triangles can be obtained recursively, "a" is length of hypotenuse, "n" = 1, 2, 3, ... Equivalently, where {"x", "y"} are the solutions to the Pell equation , with the hypotenuse "y" being the odd terms of the
Fermat's right triangle theorem and the other is odd. Therefore, both formula_39 and formula_40 are even, one of which is divisible by 4. From these two numbers Fermat derives two more numbers formula_41 and formula_42, one of which is even by the previous sentence. Because formula_43 is a square, formula_44 and formula_45 are the legs of another primitive Pythagorean triangle whose area formula_46. Since formula_27 is itself a square and since formula_48 is even, formula_49 is a square. Thus, any Pythagorean triangle with square area leads to a smaller Pythagorean triangle with square area, completing the proof. Fermat's right triangle theorem Fermat's right triangle