TwoShiftedMajorIndex on Permutation
The sum of the positions i with p(i) - p(i+1) > 2.
ShiftedMajorIndex is the same with a gap of more than 1.
Called as CombinatorialStat(x, "TwoShiftedMajorIndex"). 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 St000963
The 2-shifted major index of a permutation.
| Object | Value |
|---|---|
[1,2] | 0 |
[2,1] | 0 |
[1,2,3] | 0 |
[1,3,2] | 0 |
[2,1,3] | 0 |
[2,3,1] | 0 |
[3,1,2] | 0 |
[3,2,1] | 0 |
Data from FindStat, the combinatorial statistic finder; the page at findstat.org/St000963 has the rest.