Skip to content

OneRunCount on BinaryWord ​

The number of maximal runs of ones.

On BinaryWord

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.

ObjectValue
00
11
000
011
101
111
0000
0011

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