Skip to content

MajorIndex on BinaryWord ​

The sum of the positions i with w(i) > w(i+1).

On BinaryWord

Called as CombinatorialStat(x, "MajorIndex"). The head's page has its examples.

Live

Distribution

Over BinaryWords at each size, tallied here in your browser; sizes past 6 are not offered.

Also on

The same name on other carriers, each its own implementation: Permutation, DyckPath, IntegerComposition.

FindStat St000290

The major index of a binary word.

ObjectValue
00
10
000
010
101
110
0000
0010

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