"Source: Text/Group/GrpGPC.text";
"Line: 1403";
"Date: Wed Nov  6 12:03:12 2019";
"Main: Thu May 25 10:02:38 2023";
// original file: Text/Group/GrpGPC.text, line: 1403
// Example: H79E7 ()
print "Example: H79E7";
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);
