[go: up one dir, main page]

login
A068658
Primes in A068657.
1
31, 421, 521, 631, 9421, 14731, 15731, 189421, 36189421, 39199421, 492412631, 542713631, 603015731, 7236189421, 7537189421, 97482412631, 99492412631, 102512512631, 107532613631, 114572814731, 1477336189421, 18291452211521, 18693462311521, 19396482412631
OFFSET
1,1
LINKS
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
Cf. A068657.
Sequence in context: A089375 A069582 A175355 * A068672 A274202 A352606
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