OFFSET
1,1
LINKS
Harry J. Smith, Table of n, a(n) for n = 1..100
MATHEMATICA
NextPrim[n_Integer] := Block[ {k = n + 1}, While[ !PrimeQ[k], k++ ]; Return[k]]; a[1] = 2; a[n_] := NextPrim[ 10*a[n - 1]]; Table[ a[n], {n, 1, 20} ]
NestList[NextPrime[10#]&, 2, 20] (* Harvey P. Dale, Jun 03 2012 *)
PROG
(PARI) { for (n=1, 100, if (n>1, a=nextprime(10*a), a=2); write("b065122.txt", n, " ", a) ) } \\ Harry J. Smith, Oct 10 2009
CROSSREFS
KEYWORD
nonn
AUTHOR
Henry Bottomley, Nov 13 2001
EXTENSIONS
More terms from Robert G. Wilson v, Nov 28 2001
STATUS
approved