login
A004779
Binary expansion contains 3 adjacent 0's.
5
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,1
FORMULA
a(n) ~ n. - Charles R Greathouse IV, Oct 23 2015
PROG
(PARI) is(n)=while(n>7, if(bitand(n, 7)==0, return(1)); n>>=1); 0 \\ Charles R Greathouse IV, Feb 11 2017
CROSSREFS
Complement of A003796.
Sequence in context: A297264 A296708 A297141 * A247061 A180860 A356450
KEYWORD
nonn,easy,base
STATUS
approved