A031445 Numbers whose base-2 representation has 2 more 0's than 1's.
8, 33, 34, 36, 40, 48, 131, 133, 134, 137, 138, 140, 145, 146, 148, 152, 161, 162, 164, 168, 176, 193, 194, 196, 200, 208, 224, 519, 523, 525, 526, 531, 533, 534, 537, 538, 540, 547, 549, 550, 553, 554, 556, 561, 562, 564, 568, 579, 581, 582, 585, 586, 588, 593, 594, 596, 600
Offset: 1
Links
- Amiram Eldar, Table of n, a(n) for n = 1..10000
Crossrefs
Cf. A007088.
Programs
-
Mathematica
Select[Range[600],DigitCount[#,2,0]==DigitCount[#,2,1]+2&] (* Harvey P. Dale, Nov 26 2014 *)