OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..10000
A. Karttunen and J. Moyer: C-program for computing the initial terms of this sequence
MATHEMATICA
n1bQ[n_]:=Module[{idn2=IntegerDigits[n, 2]}, Count[idn2, 1]>6+Count[idn2, 0]]; Select[Prime[Range[1000]], n1bQ] (* Harvey P. Dale, Jun 25 2014 *)
PROG
(PARI)forprime(p=2, 6100, v=binary(p); s=0; for(k=1, #v, s+=if(v[k]==1, +1, -1)); if(s>6, print1(p, ", "))) \\ Washington Bomfim, Jan 13 2011
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Antti Karttunen, Jun 04 2004
STATUS
approved