Integer triangle formula_112 and formula_113 generate the same triple. Unfortunately the two pairs can both be of gcd=3, so we can't avoid duplicates by simply skipping that case. Instead, duplicates can be avoided by formula_27 going only till formula_115. Note that we still need to divide by 3 if gcd=3. The only solution for formula_116 under the above constraints is formula_117 for formula_118. With this additional formula_119 constraint all triples can be generated uniquely. An Eisenstein triple is a set of integers which are the lengths of the sides of a triangle where one of the angles is 60 degrees. Integer triangles
Right triangle Right triangle A right triangle (American English) or right-angled triangle (British English) is a triangle in which one angle is a right angle (that is, a 90-degree angle). The relation between the sides and angles of a right triangle is the basis for trigonometry. The side opposite the right angle is called the "hypotenuse" (side "c" in the figure). The sides adjacent to the right angle are called "legs" (or "catheti", singular: "cathetus"). Side "a" may be identified as the side "adjacent to angle B" and "opposed to" (or "opposite") "angle A", while side "b" is the side "adjacent to