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

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A213162 Smallest prime p such that (k+1)*p^2-k are prime for k=1..n. 0
 2, 199, 409, 17569, 981091, 3918251, 1329433951, 75902670689 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 COMMENTS a(1..8) are the first terms correspondingly in A106483, A213078, A213079, A213107, A213125, A213159, A213161, A213334. LINKS PROG (PARI) a(n) = {my(p = 2); until (ok, ok = 1; for (k = 1, n, if (! isprime((k+1)*p^2-k), ok = 0; break; ); ); if (!ok, p = nextprime(p+1); )); return (p); }  \\ Michel Marcus, Apr 19 2013 CROSSREFS Sequence in context: A262650 A123100 A033147 * A124339 A089772 A280090 Adjacent sequences:  A213159 A213160 A213161 * A213163 A213164 A213165 KEYWORD nonn,more AUTHOR Zak Seidov, Jun 06 2012 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.

Last modified January 15 13:27 EST 2021. Contains 340187 sequences. (Running on oeis4.)