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
Inscribed angle "V" and whose sides pass through points "A" and "B". Draw line "OA". Angle "BOA" is a central angle; call it "θ". Lines "OV" and "OA" are both radii of the circle, so they have equal lengths. Therefore, triangle "VOA" is isosceles, so angle "BVA" (the inscribed angle) and angle "VAO" are equal; let each of them be denoted as "ψ". Angles "BOA" and "AOV" are supplementary. They add up to 180°, since line "VB" passing through "O" is a straight line. Therefore, angle "AOV" measures 180° − "θ". It is known that the three angles of a triangle add