Bases: sage.modular.arithgroup.congroup_generic.CongruenceSubgroup
The principal congruence subgroup .
Return the index of self in the full modular group. This is given by
Return the congruence subgroup .
EXAMPLES:
sage: Gamma(5) # indirect doctest
Congruence Subgroup Gamma(5)
sage: G = Gamma(23)
sage: G is Gamma(23)
True
sage: G == loads(dumps(G))
True
sage: G is loads(dumps(G))
True
Return True if x is a congruence subgroup of type Gamma.
EXAMPLES:
sage: from sage.modular.arithgroup.all import is_Gamma
sage: is_Gamma(Gamma0(13))
False
sage: is_Gamma(Gamma(4))
True