OFFSET
0,1
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 0..10000
FORMULA
a(n) ~ n^3 / 2. - Charles R Greathouse IV, Aug 03 2012
EXAMPLE
a(1)=2 because prime 2 > (0*(0+1)^2/2) = 0, a(2)=3 because prime 3 > (1*(1+1)^2/2) = 2, a(3)=11 because prime 11 > (2*(2+1)^2/2) = 9.
MATHEMATICA
Table[NextPrime[n*(n+1)^2/2], {n, 0, 50}] (* T. D. Noe, Apr 03 2012 *)
PROG
(PARI) a(n)=nextprime(n*(n+1)^2/2+1) \\ Charles R Greathouse IV, Aug 03 2012
CROSSREFS
KEYWORD
nonn
AUTHOR
Gerasimov Sergey, Apr 03 2012
STATUS
approved