“…It is well-known that PSL 2 (Z) is hyperbolic, virtually free and that every one of its finitely generated subgroup is quasi-convex. It follows that every finitely generated subgroup H of PSL 2 (Z) is uniquely represented by a finite, labeled, rooted graph (Γ(H), v), called its Stallings graph [14] (see also [21,35]), which can be efficiently computed, see below. The definition of the Stallings graph of a subgroup H is as follows: we first consider the graph Schreier(PSL 2 (Z), H), whose vertices are the cosets Hg (g ∈ PSL 2 (Z)), with an a-labeled edge from Hg to Hga and a b-labeled edge from Hg to Hgb for every g ∈ PSL 2 (Z).…”