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
Triangle group of these relations and that Δ("l,m,n") is a discrete group of motions of the corresponding space. Thus a triangle group is a reflection group that admits a group presentation An abstract group with this presentation is a Coxeter group with three generators. Given any natural numbers "l", "m", "n" > 1 exactly one of the classical two-dimensional geometries (Euclidean, spherical, or hyperbolic) admits a triangle with the angles (π/l, π/m, π/n), and the space is tiled by reflections of the triangle. The sum of the angles of the triangle determines the type of the geometry by the Gauss–Bonnet theorem: it