A100606 a(n) = n^4 + n^3 + n.
0, 3, 26, 111, 324, 755, 1518, 2751, 4616, 7299, 11010, 15983, 22476, 30771, 41174, 54015, 69648, 88451, 110826, 137199, 168020, 203763, 244926, 292031, 345624, 406275, 474578, 551151, 636636, 731699, 837030, 953343, 1081376, 1221891, 1375674, 1543535, 1726308
Offset: 0
Links
- Vincenzo Librandi, Table of n, a(n) for n = 0..1000
- Index entries for linear recurrences with constant coefficients, signature (5,-10,10,-5,1).
Programs
-
Magma
[n^4+n^3+n: n in [0..50]]; // Vincenzo Librandi, Jun 09 2011
-
Mathematica
Table[n^4+n^3+n,{n,0,40}] (* or *) LinearRecurrence[{5,-10,10,-5,1},{0,3,26,111,324},40] (* Harvey P. Dale, Apr 25 2015 *)
-
PARI
a(n)=n^4+n^3+n \\ Charles R Greathouse IV, Oct 21 2022
Formula
a(n) = 5*a(n-1) - 10*a(n-2) + 10*a(n-3) - 5*a(n-4) + a(n-5); a(0)=0, a(1)=3, a(2)=26, a(3)=111, a(4)=324. - Harvey P. Dale, Apr 25 2015
From Elmo R. Oliveira, Aug 29 2025: (Start)
G.f.: x*(3 + 11*x + 11*x^2 - x^3)/(1-x)^5.
E.g.f.: x*(3 + 10*x + 7*x^2 + x^3)*exp(x). (End)