login
A064503
Bisection of A064394.
0
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
OFFSET
1,1
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)
A064503_list = list(islice(A064503_gen(), 30)) # Chai Wah Wu, Jul 10 2022
CROSSREFS
Sequence in context: A319565 A129794 A370956 * A050482 A323584 A332199
KEYWORD
nonn
AUTHOR
Vladeta Jovovic, Oct 05 2001
STATUS
approved