Definition (Rational, primitive triangle). A triangle is rational if a,b,c.

A triangle is primitive if a,b,c and are coprime.