Inversions on IntegerComposition
Pairs i < j with c(i) > c(j).
Called as CombinatorialStat(x, "Inversions"). 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: Permutation, BinaryWord.
FindStat St000766
The number of inversions of an integer composition.
| Object | Value |
|---|---|
[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/St000766 has the rest.