login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A095079 Primes with two 0-bits in their binary expansion. 3
19, 43, 53, 79, 103, 107, 109, 367, 379, 431, 439, 443, 463, 487, 491, 499, 751, 863, 887, 983, 1013, 1279, 1471, 1531, 1663, 1759, 1783, 1787, 1789, 1951, 1979, 1999, 2011, 2027, 2029, 3067, 3581, 3823, 4027, 5119, 6079, 6911, 7039, 7103 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Alois P. Heinz, 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

Select[Prime[Range[1000]], DigitCount[#, 2, 0] == 2 &]

PROG

(PARI)

{ forprime(p=2, 8000,

  v=binary(p); s=0;

  for(k=1, #v, s+=if(v[k]==0, +1, 0));

  if(s==2, print1(p, ", "))

) }

CROSSREFS

Cf. A095059.

Sequence in context: A095101 A162856 A095086 * A238676 A087779 A106950

Adjacent sequences:  A095076 A095077 A095078 * A095080 A095081 A095082

KEYWORD

nonn,base,easy

AUTHOR

Antti Karttunen, Jun 01 2004

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 18 04:41 EDT 2021. Contains 345098 sequences. (Running on oeis4.)