-- -*- M2-comint -*- hash: 12220951167774199281

i1 : p = permutation {3,1,2,5,4};

i2 : inverse p

o2 = Permutation{2, 3, 1, 5, 4}

o2 : Permutation

i3 : p = permutation {3,1,2,5,4};

i4 : ord p

o4 = 6

i5 : p = permutation {3,1,2,5,4};

i6 : sign p

o6 = -1

i7 : isEven p

o7 = false

i8 : isOdd p

o8 = true

i9 : p = permutation {3,1,2,5,4};

i10 : isDerangement p

o10 = true

i11 : fixedPoints p

o11 = {}

o11 : List

i12 : p = permutation {3,1,2,5,4};

i13 : inversions p

o13 = {{1, 2}, {1, 3}, {4, 5}}

o13 : List

i14 : 
