MajorIndexMinusInversions on Permutation
The major index less the number of inversions.
Called as CombinatorialStat(x, "MajorIndexMinusInversions"). The head's page has its examples.
Live
Distribution
Over SymmetricGroup at each size, tallied here in your browser; sizes past 8 are not offered.
FindStat St001377
The major index minus the number of inversions of a permutation.
| Object | Value |
|---|---|
[1] | 0 |
[1,2] | 0 |
[2,1] | 0 |
[1,2,3] | 0 |
[1,3,2] | 1 |
[2,1,3] | 0 |
[2,3,1] | 0 |
[3,1,2] | -1 |
Data from FindStat, the combinatorial statistic finder; the page at findstat.org/St001377 has the rest.