OFFSET
0,3
COMMENTS
Exponents are 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 + 22*x + 72*x^2 + 26*x^3 - x^4)/(1-x)^6. - R. J. Mathar, Nov 14 2007
EXAMPLE
a(7)=16513 because 7^5=16807, 7^3=343, 7^2=49 and we can write 16807-343+49=16513.
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