Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The problem is that you are comparing lists, not Sage objects. achrzesz gives an answer which compares two Sage group elements, so they are equal. The lists you give are simple Python ordered lists, and as ordered things, certainly aren't the same. Why didn't you just compare P[3]*P[6] and P[4]?

By the way, they're not the same. But that's a different issue. They're using the notation of the second row of your notation in your original question, not cycle notation.

sage: P[3] * P[6]
(1,3)
sage: P[4]
(1,2)