OFFSET
1,1
LINKS
Michael S. Branicky, Table of n, a(n) for n = 1..10000
EXAMPLE
11 is followed by 211, 311 (511 and 711 are not primes); then 13.
PROG
(Python)
from itertools import islice
from sympy import isprime, nextprime
def agen(): # generator of terms
p, s = 2, []
while True:
yield p; sp = str(p); s.append(sp); p = nextprime(p)
yield from filter(isprime, (int("".join(si + sp)) for si in s))
print(list(islice(agen(), 51))) # Michael S. Branicky, Jun 23 2023
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Nov 20 2005
EXTENSIONS
More terms from Amy Postell (arp179(AT)psu.edu), Feb 02 2006
Offset changed to 1 by Michael S. Branicky, Jun 23 2023
STATUS
approved