Definition (Rational, primitive triangle). A triangle is rational if a,b,c∈ℚ.
A triangle is primitive if a,b,c∈ℤ and are coprime.