First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered 2 years ago

Max Alekseyev gravatar image

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!')
click to hide/show revision 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!')
click to hide/show revision 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!')