A318934 Numbers whose binary expansion begins with exactly two 1's.
3, 6, 12, 13, 24, 25, 26, 27, 48, 49, 50, 51, 52, 53, 54, 55, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223
Offset: 1
Examples
3 11 6 110 12 1100 13 1101 24 11000 25 11001 26 11010 27 11011 48 110000 49 110001 ...
Links
- Seiichi Manyama, Table of n, a(n) for n = 1..10000
Programs
-
Mathematica
Join[{3},Select[Range[4,250],Take[IntegerDigits[#,2],3]=={1,1,0}&]] (* Harvey P. Dale, Oct 15 2022 *)