OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..100
EXAMPLE
a(2) = 33533 is a prime that starts with 33 and ends in 33 (two 3's).
MATHEMATICA
Join[{3}, Table[With[{c=PadRight[{}, n, 3]}, Module[{k=1}, While[!PrimeQ[FromDigits[Join[c, IntegerDigits[k], c]]], k++]; FromDigits[Join[c, IntegerDigits[k], c]]]], {n, 2, 15}]] (* Harvey P. Dale, Sep 02 2025 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Feb 24 2002
EXTENSIONS
Corrected and extended by Robert Gerbicz, Sep 06 2002
STATUS
approved
