OFFSET
1,1
COMMENTS
LINKS
A. Karttunen and J. Moyer: C-program for computing the initial terms of this sequence
MATHEMATICA
Select[Prime[Range[60]], DigitCount[#, 2, 1]>DigitCount[#, 2, 0]-3&] (* Harvey P. Dale, Jul 24 2013 *)
PROG
(PARI)forprime(p=2, 269, v=binary(p); s=0; for(k=1, #v, s+=if(v[k]==1, +1, -1)); if(s>-3, print1(p, ", "))) \\ Washington Bomfim, Jan 13 2011
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Antti Karttunen, Jun 04 2004
STATUS
approved