1 | initial version |
Using GAP interface:
G=SymmetricGroup(3); a=G((1,2)); c=G((2,3))
b, d = c, a
C = (G(x) for x in gap.AsList( gap.RightCoset(gap.Centralizer(G,c), gap.RepresentativeAction(G,c,a)) ))
try:
x = next(x for x in C if x*b==d*x)
print('x=',x)
except StopIteration:
print('No x exists!')
2 | No.2 Revision |
Using GAP interface:interface and the idea from here:
G=SymmetricGroup(3); a=G((1,2)); c=G((2,3))
b, d = c, a
C = (G(x) for x in gap.AsList( gap.RightCoset(gap.Centralizer(G,c), gap.RepresentativeAction(G,c,a)) ))
try:
x = next(x for x in C if x*b==d*x)
print('x=',x)
except StopIteration:
print('No x exists!')
3 | No.3 Revision |
Using GAP interface and the idea from here:
G=SymmetricGroup(3); a=G((1,2)); c=G((2,3))
b, d = c, a
a # just as an example
C = (G(x) for x in gap.AsList( gap.RightCoset(gap.Centralizer(G,c), gap.RepresentativeAction(G,c,a)) ))
try:
x = next(x for x in C if x*b==d*x)
print('x=',x)
except StopIteration:
print('No x exists!')