Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Rather use the symmetric group, in that case.

sage: W = SymmetricGroup(8)
sage: [s1,s2,s3,s4,s5,s6,s7] = W.simple_reflections()
sage: w = s2*s4*s6; w
(2,3)(4,5)(6,7)
sage: w.tuple()
(1, 3, 2, 5, 4, 7, 6, 8)