Skip to content

Inversions on BinaryWord ​

Pairs i < j with w(i) > w(j).

On BinaryWord

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

FindStat St000293

The number of inversions 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/St000293 has the rest.