ApCoCoA-1:Dicyclic groups

From ApCoCoAWiki
Revision as of 07:49, 13 August 2013 by F lorenz (talk | contribs) (New page: →‎Use the ApCoCoA package ncpoly.: // Number of Dicyclic group (note that the order is 4N) MEMORY.N:=5; Use ZZ/(2)[a,b,c,d]; NC.SetOrdering("LLEX"); Define CreateRe...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)



 /*Use the ApCoCoA package ncpoly.*/
 
 // Number of Dicyclic group (note that  the order is 4N)
 MEMORY.N:=5;
 
 Use ZZ/(2)[a,b,c,d];
 NC.SetOrdering("LLEX");
 Define CreateRelationsDicyclic()
   Relations:=[];
   // add the relations of the invers elements ac = 1 and bd = 1
   Append(Relations, [[a,c],[-1]]);
   Append(Relations, [[c,a],[-1]]);
   Append(Relations, [[b,d],[-1]]);
   Append(Relations, [[d,b],[-1]]);
   
   // add the relation a^{n} = b^2
   Append(Relations, [[a^(MEMORY.N)], [-b,b]]);
   
   // add the relation a^{2n} = 1
   Append(Relations, [[a^(2*MEMORY.N)], [-1]]);
   
   // add the relation bab^{-1} = a^{-1}
   Append(Relations, [[b,a,d],[-c]]);
   Return Relations;
 EndDefine;
 
 Relations:=CreateRelationsDicyclic();
 Relations;
 GB:=NC.GB(Relations);
 GB;