|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
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
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|