Skip to content

OnesMinusZeros on BinaryWord ​

The number of ones less the number of zeros.

On BinaryWord

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

The number of ones minus the number of zeros of a binary word.

ObjectValue
0-1
11
00-2
010
100
112
000-3
001-1

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