login
A100606
a(n) = n^4 + n^3 + n.
1
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
OFFSET
0,2
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
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 *)
PROG
(Magma) [n^4+n^3+n: n in [0..50]]; // Vincenzo Librandi, Jun 09 2011
(PARI) a(n)=n^4+n^3+n \\ Charles R Greathouse IV, Oct 21 2022
KEYWORD
nonn,easy
AUTHOR
Douglas Winston (douglas.winston(AT)srupc.com), Nov 30 2004
STATUS
approved