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
Heronian triangle triangles with these sidelengths, and joins them together along the sides of length "a", to obtain a triangle with integer side lengths "c", "e", and "b" + "d", and with area If "a" is even then the area "A" is an integer. Less obviously, if "a" is odd then "A" is still an integer, as "b" and "d" must both be even, making "b"+"d" even too. Some Heronian triangles cannot be obtained by joining together two right-angled triangles with integer sides as described above. For example, a 5, 29, 30 Heronian triangle with area 72 cannot be constructed from two