OFFSET
0,2
COMMENTS
The 100th term is 16456; ((10^100+1)^100)+16456 is a probable prime with 10001 digits.
LINKS
Michael S. Branicky, Table of n, a(n) for n = 0..101
MATHEMATICA
lpk[n_]:=Module[{c=(10^n+1)^n}, NextPrime[c]-c]; Array[lpk, 40, 0] (* Harvey P. Dale, Sep 04 2017 *)
PROG
(PARI) a(n) = nextprime(1+m=(10^n+1)^n) - m; \\ Jinyuan Wang, Jun 07 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
Jason Earls, Aug 05 2006
EXTENSIONS
a(39)-a(46) from Jinyuan Wang, Jun 07 2020
a(47) and beyond from Michael S. Branicky, May 22 2023
STATUS
approved