login
A182047
Smallest prime > n*(n+1).
2
2, 3, 7, 13, 23, 31, 43, 59, 73, 97, 113, 137, 157, 191, 211, 241, 277, 307, 347, 383, 421, 463, 509, 557, 601, 653, 709, 757, 821, 877, 937, 997, 1061, 1123, 1193, 1277, 1361, 1409, 1483, 1567, 1657, 1723, 1811, 1901, 1987, 2081, 2179, 2267, 2357, 2459, 2551
OFFSET
0,1
LINKS
FORMULA
a(n) = A151800(A002378(n)). - Amiram Eldar, Sep 06 2020
MATHEMATICA
NextPrime[Table[n(n+1), {n, 0, 60}]
PROG
(PARI) a(n)=nextprime(n^2+n+1) \\ Charles R Greathouse IV, Aug 03 2012
CROSSREFS
KEYWORD
nonn
AUTHOR
Gerasimov Sergey, Apr 08 2012
EXTENSIONS
Offset corrected by Zak Seidov, May 05 2014
STATUS
approved