login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A027701
Primes with even number of 1's in binary expansion such that next prime also has even number of 1's.
3
3, 23, 83, 139, 257, 263, 277, 337, 347, 349, 353, 383, 467, 503, 593, 683, 811, 839, 853, 887, 977, 1091, 1093, 1097, 1217, 1223, 1283, 1303, 1307, 1381, 1399, 1427, 1429, 1433, 1487, 1499, 1511, 1553, 1601, 1613, 1619, 1723, 1811, 1847, 1871, 1879
OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1001 (offset adapted by Georg Fischer, Jan 31 2019)
MATHEMATICA
Prime[#]&/@Flatten[Position[Partition[Table[DigitCount[n, 2, 1], {n, Prime[ Range[300]]}], 2, 1], _?(EvenQ[First[#]]&&EvenQ[Last[#]]&), {1}, Heads-> False]] (* Harvey P. Dale, Aug 15 2013 *)
CROSSREFS
Sequence in context: A196649 A363170 A357738 * A201482 A032017 A197453
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
More terms from Erich Friedman.
Offset changed by Michel Marcus, Mar 29 2018
STATUS
approved