OFFSET
1,1
COMMENTS
The corresponding nonprime numbers are in A238333.
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000 (first 2700 terms from T. D. Noe)
MATHEMATICA
t = {}; eList = {}; p = 7; While[Length[t] < 1000, p = NextPrime[p]; e = FromDigits[Rest[IntegerDigits[p]]]; If[! PrimeQ[e] && ! MemberQ[eList, e], AppendTo[t, p]; AppendTo[eList, e]]]; t
PROG
(Haskell)
a238332 n = a238332_list !! (n-1)
a238332_list = f [] $ drop 4 a000040_list where
f xs (p:ps) | a010051 t == 1 || t `elem` xs = f xs ps
| otherwise = p : f (t:xs) ps
where t = read $ tail $ show p
-- Reinhard Zumkeller, Feb 28 2014
CROSSREFS
KEYWORD
nonn,base
AUTHOR
T. D. Noe, Feb 28 2014
STATUS
approved