|
| |
|
|
A095286
|
|
Primes in whose binary expansion the number of 1-bits is > 1 + number of 0-bits.
|
|
5
|
|
|
|
3, 7, 11, 13, 23, 29, 31, 43, 47, 53, 59, 61, 79, 103, 107, 109, 127, 151, 157, 167, 173, 179, 181, 191, 199, 211, 223, 227, 229, 233, 239, 241, 251, 311, 317, 347, 349, 359, 367, 373, 379, 383, 431, 439, 443, 461, 463, 467, 479, 487, 491, 499
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
|
OFFSET
|
1,1
|
|
|
LINKS
|
Table of n, a(n) for n=1..52.
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 > (b0+1), return(1); , return(0); ); };
forprime(x = 3, 499, if(B(x), print1(x, ", "); ); );
[W. Bomfim webonfim(AT)bol.com Jan 11, 2011]
|
|
|
CROSSREFS
|
Complement of A095287 in A000040. Subset of A095070. Subset: A095314. Cf. also A095296.
Sequence in context: A197318 A109492 A176799 * A177681 A225222 A106561
Adjacent sequences: A095283 A095284 A095285 * A095287 A095288 A095289
|
|
|
KEYWORD
|
nonn,easy,base
|
|
|
AUTHOR
|
Antti Karttunen, Jun 04 2004
|
|
|
STATUS
|
approved
|
| |
|
|