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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A095070 One-bit dominant primes, i.e. primes whose binary expansion contains more 1's than 0's. 4
3, 5, 7, 11, 13, 19, 23, 29, 31, 43, 47, 53, 59, 61, 71, 79, 83, 89, 101, 103, 107, 109, 113, 127, 151, 157, 167, 173, 179, 181, 191, 199, 211, 223, 227, 229, 233, 239, 241, 251, 271, 283, 307, 311, 313, 317, 331, 347, 349, 359, 367, 373, 379, 383 (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

MATHEMATICA

Select[Prime[Range[70]], Plus@@IntegerDigits[#, 2] > Length[IntegerDigits[#, 2]]/2 &] (* From Alonso del Arte (alonso.delarte(AT)gmail.com), Jan 11 2011 *)

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 > b0, return(1); , return(0); ); };

forprime(x = 3, 383, if(B(x), print1(x, ", "); ); );

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

CROSSREFS

Intersection of A000040 and A072600. Complement of A095075 in A000040. Subset: A095073. Cf. A095020.

Sequence in context: A138004 A045395 A191377 * A079733 A179538 A095747

Adjacent sequences:  A095067 A095068 A095069 * A095071 A095072 A095073

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 14 02:39 EST 2012. Contains 205567 sequences.