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 hyperbolic upper half plane by Schwarz triangles will be discussed using elementary methods. For triangles without "cusps"—angles equal to zero or equivalently vertices on the real axis—the elementary approach of will be followed. For triangles with one or two cusps, elementary arguments of , simplifying the approach of , will be used: in the case of a Schwarz triangle with one angle zero and another a right angle, the orientation-preserving subgroup of the reflection group of the triangle is a Hecke group. For an ideal triangle in which all angles are zero, so that all vertices lie on the real