"Source: Text/Group/GrpGPC.text";
"Line: 1403";
"Date: Thu Sep 25 14:47:45 2025";
"Main: Fri Sep 26 14:29:19 2025";
// original file: Text/Group/GrpGPC.text, line: 1403
// Example: H81E7 ()
print "Example: H81E7";
ei := GetEchoInput();
SetEchoInput(true);
G<a,b> := DihedralGroup(GrpGPC, 0);
H := sub<G|a*b, b^10>;
Index(G, H);
assert $1 eq 10;
RT, transmap := Transversal(G, H);
RT;
transmap;
LT := {@ x^-1 : x in RT @};
LT;
ct := CosetTable(G, H);
action := func< r, g | RT[ct(Index(RT, r), g)] >;
action(Id(G), b); 
action(b^-4, a*b);
SetEchoInput(ei);
