answered 12 years ago
sage: G = SymmetricGroup(3) sage: P3=G((3,2)) sage: P6=G((3,1,2)) sage: P4=G((2,1)) sage: P3*P6==P4 True