login
A099656
a(n) is the least prime following A002276(n) repdigits.
14
2, 3, 23, 223, 2237, 22229, 222247, 2222239, 22222223, 222222227, 2222222243, 22222222223, 222222222301, 2222222222243, 22222222222229, 222222222222227, 2222222222222281, 22222222222222301, 222222222222222281
OFFSET
0,1
LINKS
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 *)
KEYWORD
base,nonn
AUTHOR
Labos Elemer, Nov 17 2004
STATUS
approved