I was expecting to get the identity when I did the following:
G=SymmetricGroup(3)
G('(1,2)(1,2)')
but I get (1,2). How to tell Sage to compute a product of not necessarily disjoint cycles?
1 | initial version |
I was expecting to get the identity when I did the following:
G=SymmetricGroup(3)
G('(1,2)(1,2)')
but I get (1,2). How to tell Sage to compute a product of not necessarily disjoint cycles?
2 | retagged |
I was expecting to get the identity when I did the following:
G=SymmetricGroup(3)
G('(1,2)(1,2)')
but I get (1,2). How to tell Sage to compute a product of not necessarily disjoint cycles?
I was expecting to get the identity when I did the following:
G=SymmetricGroup(3)
G('(1,2)(1,2)')
sage: G = SymmetricGroup(3)
sage: G('(1,2)(1,2)')
but I get (1,2). (1,2).
How to tell Sage to compute a product of not necessarily disjoint cycles?