OneRunCount on BinaryWord
The number of maximal runs of ones.
A run starts at the first letter if it is a 1, and after each 0 followed by a 1.
Called as CombinatorialStat(x, "OneRunCount"). 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 St000390
The number of runs of ones in a binary word.
| Object | Value |
|---|---|
0 | 0 |
1 | 1 |
00 | 0 |
01 | 1 |
10 | 1 |
11 | 1 |
000 | 0 |
001 | 1 |
Data from FindStat, the combinatorial statistic finder; the page at findstat.org/St000390 has the rest.