|
4, 8, 22, 26, 32, 50, 56, 70, 76, 82, 94, 100, 112, 118, 128, 134, 176, 186, 196, 266, 274, 280, 296, 342, 352, 358, 364, 372, 386, 392, 400, 406, 426, 454, 472, 484, 496, 560, 580, 598, 638, 656, 666, 682, 696, 704, 714, 724, 738, 750, 772, 776, 800, 832
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
PROG
|
(Python 3.10+)
from itertools import count, islice
from sympy import prevprime
def A064503_gen(): # generator of terms
return islice(filter(lambda n:n-n.bit_count()==prevprime(n), count(3)), 0, None, 2)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|