Integer triangle not) satisfy formula_151. We can generate the full equivalence class of similar triangles that satisfy B=3A by using the formulas where formula_28 and formula_27 are integers such that formula_157. Note that all triangles with B = 3A (whether with integer sides or not) satisfy formula_158. The only integer triangle with three rational angles (rational numbers of degrees, or equivalently rational fractions of a full turn) is the equilateral triangle. This is because integer sides imply three rational cosines by the law of cosines, and by Niven's theorem a rational cosine coincides with a rational angle if and only if the
Schwarz triangle function of the upper half plane. To see how to handle the case when an angle of Δ is a right angle, note that the inequality implies that if one of the angles is a right angle, say "a" = 2, then both "b" and "c" are greater than 2 and one of them, "b" say, must be greater than 3. In this case, reflecting the triangle across the side AB gives an isosceles hyperbolic triangle with angles /"c", /"c" and 2/"b". If 2/"b" ≤ /3, i.e. "b" is greater than 5, then all the angles of the doubled triangle are