Skip to content

LeadingOnesCount on BinaryWord ​

The number of ones before the first 0.

On BinaryWord

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

The number of leading ones in a binary word.

ObjectValue
00
11
000
010
101
112
0000
0010

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