OFFSET
1,1
LINKS
Michael S. Branicky, Table of n, a(n) for n = 1..10000
PROG
(Python)
from sympy import isprime
from itertools import count, islice
def agen(): # generator of terms
for k in count(1):
s = str(k)
while k != 1:
k //= 2
s += str(k)
t = int(str(s))
if isprime(t):
yield t
print(list(islice(agen(), 24))) # Michael S. Branicky, Mar 27 2024
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Feb 28 2002
EXTENSIONS
More terms from Sascha Kurz, Mar 26 2002
Corrected and extended by Sean A. Irvine, Mar 27 2024
STATUS
approved