Integer triangle rational formula_14 where formula_15 reduces the generated Heronian triangle to its primitive and formula_16 scales up this primitive to the required size. A Pythagorean triangle is right angled and Heronian. Its three integer sides are known as a Pythagorean triple or Pythagorean triplet or Pythagorean triad. All Pythagorean triples formula_17 with hypotenuse formula_18 which are primitive (the sides having no common factor) can be generated by where "m" and "n" are coprime integers and one of them is even with "m" > "n". Every even number greater than 2 can be the leg of a Pythagorean triangle (not necessarily primitive)
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