OFFSET
0,3
COMMENTS
Exponents are the prime numbers in decreasing order.
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
FORMULA
a(n) = n^5 + n^3 - n^2.
G.f.: x*(1 + 30*x + 60*x^2 + 26*x^3 + 3*x^4)/(1-x)^6. - R. J. Mathar, Nov 14 2007
EXAMPLE
a(7)=17101 because 7^5=16807, 7^3=343, 7^2=49 and we can write 16807+343-49=17101.
MATHEMATICA
Table[n^5 + n^3 - n^2, {n, 0, 50}] (* G. C. Greubel, Oct 20 2017 *)
PROG
(Magma) [n^5+n^3-n^2: n in [0..50]]; // Vincenzo Librandi, Dec 15 2010
(PARI) for(n=0, 50, print1(n^5 + n^3 - n^2, ", ")) \\ G. C. Greubel, Oct 20 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Omar E. Pol, Nov 01 2007
EXTENSIONS
More terms from Vincenzo Librandi, Dec 15 2010
STATUS
approved