OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
FORMULA
a(n) = 5*n^5 + 3*n^3 - 2*n^2.
G.f.: 2x*(3+70x+156x^2+66x^3+5x^4)/(1-x)^6. - R. J. Mathar, Nov 14 2007
EXAMPLE
a(4)=5280 because 4^5=1024, 5*1024=5120, 4^3=64, 3*64=192, 4^2=16, 2*16=32 and we can write 5120+192-32=5280.
MAPLE
MATHEMATICA
CoefficientList[Series[2 x (3 + 70 x + 156 x^2 + 66 x^3 + 5 x^4)/(1 - x)^6, {x, 0, 50}], x] (* Vincenzo Librandi, May 21 2014 *)
PROG
(Magma)[5*n^5+3*n^3-2*n^2: n in [0..50]]; // Vincenzo Librandi, Dec 14 2010
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Omar E. Pol, Nov 04 2007
EXTENSIONS
More terms from Vincenzo Librandi, Dec 14 2010
STATUS
approved