OFFSET
1,1
LINKS
A. Karttunen and J. Moyer: C-program for computing the initial terms of this sequence
PROG
(PARI) B(x) = { nB = floor(log(x)/log(2)); b1 = 0; b0 = 0;
for(i = 0, nB, if(bittest(x, i), b1++; , b0++; ); );
if(b1 > (5+b0), return(1); , return(0); ); };
forprime(x = 31, 3037, if(B(x), print1(x, ", "); ); );
\\ Washington Bomfim, Jan 12 2011
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, Jun 04 2004
STATUS
approved