OFFSET
0,1
LINKS
Clark Kimberling, Table of n, a(n) for n = 0..498
MAPLE
f:= proc(n)
local p, d;
for d from 1 do
p:= nextprime(n*10^d);
if p < (n+1)*10^d then return p fi
od
end proc:
A[1]:= 11:
for n from 2 to 20 do A[n]:= f(A[n-1]) od:
seq(A[n], n=1..20); # Robert Israel, Aug 16 2015
MATHEMATICA
a = {11}; Do[k = 1; w = IntegerDigits[a[[n - 1]]];
While[CompositeQ@ FromDigits[Join[w, IntegerDigits@ k]], k += 2];
AppendTo[a, FromDigits[Join[w, IntegerDigits@ k]]], {n, 2, 15}]; a (* Michael De Vlieger, Sep 21 2015 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Patrick De Geest, May 15 1999
STATUS
approved