For a permutation of , an inversion is a pair with . Its number equals the Coxeter length for adjacent transpositions: each adjacent swap changes the count by one, and swapping adjacent descents sorts the permutation in exactly that many steps.
The inversion number of a permutation isFor
3142, the inverted pairs of values are , giving three. The inversion number ranges from zero for increasing order to for decreasing order; it is the minimum number of adjacent transpositions needed to sort the permutation. Its parity gives the sign of a permutation, . The same pair-counting formula defines the word inversion number when repeated symbols are allowed. Articles by others on the same topic
There are currently no matching articles.