A133071 a(n) = n^5 - n^3 + n^2.
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
Keywords
Examples
a(7)=16513 because 7^5=16807, 7^3=343, 7^2=49 and we can write 16807-343+49=16513.
Links
- G. C. Greubel, Table of n, a(n) for n = 0..1000
Programs
-
Magma
[n^5-n^3+n^2: n in [0..50]]; // Vincenzo Librandi, Dec 15 2010
-
Mathematica
Table[n^5 - n^3 + n^2, {n,0,50}] (* G. C. Greubel, Oct 20 2017 *)
-
PARI
for(n=0,50, print1(n^5 - n^3 + n^2, ", ")) \\ G. C. Greubel, Oct 20 2017
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
Extensions
More terms from Vincenzo Librandi, Dec 15 2010
Comments