OFFSET
1,1
LINKS
Giovanni Resta, Table of n, a(n) for n = 1..2128 (terms < 10^13, first 1175 terms from Chai Wah Wu)
PROG
(PARI) is(n, L=logint(n+!n, 10)+1, d, P)={!for(k=0, L, isprime((d=divrem(n, P=10^(L-k)))[2]+(10*d[1]+9)*P)||return)} \\ M. F. Hasler, May 10 2018
CROSSREFS
Cf. A215421 (subsequence of primes).
Cf. A068679 (1 is prefixed, appended or inserted anywhere), A069246 (primes among these), A068673 (1 is prefixed, or appended).
Cf. A069832 (7 is prefixed, appended or inserted anywhere), A215420 (primes among these), A068677 (7 is prefixed or appended).
Cf. A158232 (13 is prefixed or appended).
KEYWORD
nonn,base
AUTHOR
Amarnath Murthy, Apr 14 2002
EXTENSIONS
More terms from Vladeta Jovovic, Apr 16 2002
Corrected offset by Chai Wah Wu, Oct 10 2019
STATUS
approved