Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News AboutSign UpSign In
| Download
Project: modular forms
Views: 22
G.<x,y> = FreeGroup();G G.rank() R = [x^2, y^3, x*y*x*y^(-1)];R K = G/R; K A = matrix([[1,2],[0,1]]); B = matrix([[1,0],[2,1]]) #Gamma_2.<A,B> = FreeGroup();Gamma_2 Gamma(2) Gamma(2).generators(algorithm = "farey") Gamma(2).as_permutation_group() Gamma(2).ngens() Gamma(2).index() %gap G := FreeGroup( "x", "y" ); %gap x := G.1;; y:= G.2; %gap H := G / [ x^2, y^3 ] %gap K := G / [ x^2, y^3, x*y*x*y^(-1)]; #%gap tab := CosetTable(H, K); #%gap Display(tab);
Free Group on generators {x, y} 2 [x^2, y^3, x*y*x*y^-1] Finitely presented group < x, y | x^2, y^3, x*y*x*y^-1 > Congruence Subgroup Gamma(2) [[1 2] [0 1], [ 3 -2] [ 2 -1], [-1 0] [ 0 -1]] Arithmetic subgroup with permutations of right cosets S2=(1,4)(2,6)(3,5) S3=(1,2,3)(4,5,6) L=(1,5)(2,4)(3,6) R=(1,6)(2,5)(3,4) 3 6 <free group on the generators [ x, y ]> y <fp group on the generators [ x, y ]> <fp group on the generators [ x, y ]>
Error in lines 1-6 Traceback (most recent call last): File "/cocalc/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 1013, in execute exec compile(block+'\n', '', 'single') in namespace, locals File "", line 1, in <module> File "/cocalc/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 1056, in execute_with_code_decorators code_decorators = [eval(code_decorator, self.namespace) for code_decorator in code_decorators] File "<string>", line 1 %gap ^ SyntaxError: invalid syntax