OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
MATHEMATICA
Join[{101}, f[n_]:=Block[{len=Floor[Log[10, n]+1]}, Select[10^(1+len) n+10^len*Table[k (10^1-1)/9, {k, 9}]+n, PrimeQ@#&]]; Array[f, 40]//Flatten]; Vincenzo Librandi, Jul 27 2012
Select[Flatten[Table[FromDigits[Flatten[Join[{IntegerDigits[n], i, IntegerDigits[ n]}]]], {n, 50}, {i, 0, 9}]], PrimeQ] (* Harvey P. Dale, Aug 22 2014 *)
PROG
(Magma) [p: d in [0..9], n in [1..40 by 2] | IsPrime(p) where p is n*10^(t+1)+d*10^t+n where t is #Intseq(n)]; // Vincenzo Librandi, Sep 14 2013
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Vincenzo Librandi, Jan 06 2009
EXTENSIONS
Inserted 19919. R. J. Mathar, Jan 07 2009
STATUS
approved