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