login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A121521 Least positive k such that (10^n+1)^n + k is prime. 1
1, 2, 10, 2, 16, 12, 220, 60, 112, 222, 112, 30, 618, 348, 156, 248, 10, 290, 256, 2346, 118, 570, 738, 348, 1356, 4352, 1402, 470, 736, 300, 10428, 4962, 4882, 1382, 580, 948, 5112, 776, 358, 7158, 1458, 21056, 318, 4376, 2472, 2738, 9178 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

The 100th term is 16456; ((10^100+1)^100)+16456 is a probable prime with 10001 digits.

LINKS

Table of n, a(n) for n=0..46.

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

Cf. A121520.

Sequence in context: A154032 A221551 A010700 * A280033 A347096 A346239

Adjacent sequences:  A121518 A121519 A121520 * A121522 A121523 A121524

KEYWORD

nonn,more

AUTHOR

Jason Earls, Aug 05 2006

EXTENSIONS

a(39)-a(46) from Jinyuan Wang, Jun 07 2020

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 26 11:10 EDT 2021. Contains 348267 sequences. (Running on oeis4.)