The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A027700 Numbers k such that the k-th prime has an even number of 1's in its binary expansion. 4
 2, 3, 7, 9, 10, 14, 16, 20, 23, 24, 26, 30, 34, 35, 38, 45, 55, 56, 57, 59, 60, 62, 64, 66, 68, 69, 70, 71, 72, 74, 76, 77, 79, 87, 89, 91, 92, 96, 97, 99, 101, 105, 108, 109, 114, 117, 122, 124, 125, 131, 133, 137, 139, 141, 142, 146, 147, 148, 150, 152, 154, 155, 159, 165, 166, 170, 173, 176, 178 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS T. D. Noe, Table of n, a(n) for n = 1..10000 MATHEMATICA Position[Table[If[EvenQ[DigitCount[n, 2, 1]], 1, 0], {n, Prime[Range[ 200]]}], 1]//Flatten (* Harvey P. Dale, Jul 11 2017 *) PROG (PARI) n=0; forprime(p=2, 97, n++; if(hammingweight(p)%2==0, print1(n", "))) \\ Charles R Greathouse IV, Sep 24 2012 CROSSREFS Cf. A027697, A027698, A027699. Sequence in context: A060525 A152863 A047359 * A262300 A202105 A076297 Adjacent sequences: A027697 A027698 A027699 * A027701 A027702 A027703 KEYWORD nonn,easy AUTHOR N. J. A. Sloane EXTENSIONS Extended (and corrected) by Scott Lindhurst (ScottL(AT)alumni.princeton.edu) STATUS approved

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

Last modified August 13 10:15 EDT 2024. Contains 375130 sequences. (Running on oeis4.)