A004779 Binary expansion contains 3 adjacent 0's.
8, 16, 17, 24, 32, 33, 34, 35, 40, 48, 49, 56, 64, 65, 66, 67, 68, 69, 70, 71, 72, 80, 81, 88, 96, 97, 98, 99, 104, 112, 113, 120, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 152, 160, 161, 162, 163, 168
Offset: 0
Links
- Daniel Starodubtsev, Table of n, a(n) for n = 0..10000
- Index entries for 2-automatic sequences.
Programs
-
PARI
is(n)=while(n>7,if(bitand(n,7)==0,return(1));n>>=1); 0 \\ Charles R Greathouse IV, Feb 11 2017
Formula
a(n) ~ n. - Charles R Greathouse IV, Oct 23 2015