OFFSET
1,1
REFERENCES
Marilyn vos Savant and Leonore Fleischer, Brain Building in Just 12 Weeks, Bantam Books, New York, NY, 1991, pp. 104-105, 119.
LINKS
Harry J. Smith, Table of n, a(n) for n = 1..1000
FORMULA
a(n) ~ n^3. - Charles R Greathouse IV, May 30 2013
EXAMPLE
a(2)=22 because 3 + 2^3 + 2^2 + 8 - 1 = 22.
MATHEMATICA
Table[Prime[n] + n^3 + n^2 + 4 n - 1, {n, 50}] (* Vincenzo Librandi, Jul 03 2018 *)
PROG
(PARI) a(n)={prime(n) + n^2 + n^3 + (2*n - 1) + (2*n)} \\ Harry J. Smith, Jul 12 2009
(Magma) [NthPrime(n)+n^3 + n^2 + 4*n - 1: n in [1..50]]; // Vincenzo Librandi, Jul 03 2018
CROSSREFS
KEYWORD
easy,nonn,dumb
AUTHOR
Jason Earls, May 05 2001
EXTENSIONS
More terms from Larry Reeves (larryr(AT)acm.org), May 07 2001
STATUS
approved
