OnePositionSum on BinaryWord
The sum of the positions of the ones.
Called as CombinatorialStat(x, "OnePositionSum"). 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.
FindStat St000391
The sum of the positions of the ones in a binary word.
| Object | Value |
|---|---|
0 | 0 |
1 | 1 |
00 | 0 |
01 | 2 |
10 | 1 |
11 | 3 |
000 | 0 |
001 | 3 |
Data from FindStat, the combinatorial statistic finder; the page at findstat.org/St000391 has the rest.