Skip to content

ShiftedMajorIndex on Permutation ​

The sum of the positions i with p(i) - p(i+1) >= 2.

On Permutation

Called as CombinatorialStat(x, "ShiftedMajorIndex"). 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 St000961

The shifted major index of a permutation.

ObjectValue
[1,2]0
[2,1]0
[1,2,3]0
[1,3,2]0
[2,1,3]0
[2,3,1]2
[3,1,2]1
[3,2,1]0

Data from FindStat, the combinatorial statistic finder; the page at findstat.org/St000961 has the rest.