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
Magic triangle (mathematics) Magic triangle (mathematics) A magic triangle (also called a perimeter magic triangle) is an arrangement of the integers from 1 to on the sides of a triangle with the same number of integers on each side, called the "order" of the triangle, so that the sum of integers on each side is a constant, the magic sum of the triangle. Unlike magic squares, there are different magic sums for magic triangles of the same order. Any magic triangle has a complementary triangle obtained by replacing each integer in the triangle with . This means that only half of the triangles