Fermat's right triangle theorem is, by the Pythagorean theorem, they would form two integer-sided right triangles in which the pair formula_10 gives one leg and the hypotenuse of the smaller triangle and the same pair also forms the two legs of the larger triangle. But if (as Fibonacci asserted) no square congruum can exist, then there can be no two integer right triangles that share two sides in this way. Because the congrua are exactly the numbers that are four times the area of a Pythagorean triangle, and multiplication by four does not change whether a number is square, the existence of a square
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