A182047 Smallest prime > n*(n+1).
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
Keywords
Links
- Amiram Eldar, Table of n, a(n) for n = 0..10000
Programs
-
Mathematica
NextPrime[Table[n(n+1), {n, 0, 60}]]
-
PARI
a(n)=nextprime(n^2+n+1) \\ Charles R Greathouse IV, Aug 03 2012
Formula
Extensions
Offset corrected by Zak Seidov, May 05 2014