OFFSET
0,1
LINKS
Robert Israel, Table of n, a(n) for n = 0..999
EXAMPLE
n=2: 22 is followed by 23.
MAPLE
seq(nextprime(2*(10^i-1)/9), i=0..20); # Robert Israel, Aug 25 2017
MATHEMATICA
Table[Table[NextPrime[2*(10^n-1)/9], {n, 0, 35}]
Table[ NextPrime[2*(10^n - 1)/9], {n, 0, 18}] (* Robert G. Wilson v, Nov 20 2004 *)
Table[NextPrime[FromDigits[PadRight[{}, n, 2]]], {n, 0, 20}] (* Harvey P. Dale, Dec 15 2021 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Labos Elemer, Nov 17 2004
STATUS
approved