login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A095075 Primes in whose binary expansion the number of 1-bits is less than or equal to number of 0-bits. 5
2, 17, 37, 41, 67, 73, 97, 131, 137, 139, 149, 163, 193, 197, 257, 263, 269, 277, 281, 293, 337, 353, 389, 401, 449, 521, 523, 541, 547, 557, 563, 569, 577, 587, 593, 601, 613, 617, 641, 643, 647, 653, 659, 661, 673, 677, 709, 769, 773, 787 (list; graph; refs; listen; history; internal format)
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)); z1 = 0; z0 = 0;

for(i = 0, nB, if(bittest(x, i), z1++; , z0++; ); );

if(z1 <= z0, return(1); , return(0); ); };

forprime(x = 2, 787, if(B(x), print1(x, ", "); ); );

[W. Bomfim webonfim(AT)bol.com Jan 11, 2011]

CROSSREFS

Complement of A095070 in A000040. Cf. A095055.

Sequence in context: A018529 A041031 A041965 * A069042 A121923 A000956

Adjacent sequences:  A095072 A095073 A095074 * A095076 A095077 A095078

KEYWORD

nonn,easy,base

AUTHOR

Antti Karttunen (his-firstname.his-surname(AT)iki.fi), Jun 01 2004

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 09:00 EST 2012. Contains 205904 sequences.