login
A133071
a(n) = n^5 - n^3 + n^2.
6
0, 1, 28, 225, 976, 3025, 7596, 16513, 32320, 58401, 99100, 159841, 247248, 369265, 535276, 756225, 1044736, 1415233, 1884060, 2469601, 3192400, 4075281, 5143468, 6424705, 7949376, 9750625, 11864476, 14329953, 17189200, 20487601, 24273900, 28600321, 33522688, 39100545, 45397276
OFFSET
0,3
COMMENTS
Exponents are prime numbers in decreasing order.
LINKS
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
KEYWORD
nonn
AUTHOR
Omar E. Pol, Nov 01 2007
EXTENSIONS
More terms from Vincenzo Librandi, Dec 15 2010
STATUS
approved