Skip to content

WeakMajorIndex on IntegerComposition ​

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

On IntegerComposition

Reads the composition as a word, so it stands on a bare list too.

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

Live

Distribution

Over IntegerCompositions 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: BinaryWord.

FindStat St001931

The weak major index of an integer composition regarded as a word.

ObjectValue
[1]0
[2]0
[3]0
[4]0
[5]0
[6]0
[7]0
[8]0

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