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)
Incircle and excircles of a triangle using the side lengths of the triangle relative to the perimeter—i.e., using the barycentric coordinates given above, normalized to sum to unity—as weights. (The weights are positive so the incenter lies inside the triangle as stated above.) If the three vertices are located at formula_14, formula_15, and formula_16, and the sides opposite these vertices have corresponding lengths formula_7, formula_8, and formula_9, then the incenter is at Denoting the incenter of triangle "ABC" as "I", the distances from the incenter to the vertices combined with the lengths of the triangle sides obey the equation Additionally, where "R" and "r" are the