OFFSET
0,3
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (7,-21,35,-35,21,-7,1).
FORMULA
G.f.: x*(1 + 26*x + 156*x^2 + 146*x^3 + 31*x^4)/(1-x)^7. - Vincenzo Librandi, Dec 10 2014
E.g.f.: (1/2)*x*(2 + 31*x + 90*x^2 + 65*x^3 + 15*x^4 + x^5)*exp(x). - G. C. Greubel, Jan 17 2023
MAPLE
MATHEMATICA
Table[n(n^5+1)/2, {n, 0, 100}] (* Wesley Ivan Hurt, Nov 23 2013 *)
LinearRecurrence[{7, -21, 35, -35, 21, -7, 1}, {0, 1, 33, 366, 2050, 7815, 23331}, 30] (* Harvey P. Dale, Dec 09 2014 *)
CoefficientList[Series[x (1 + 26 x + 156 x^2 + 146 x^3 + 31 x^4) / (1 - x)^7, {x, 0, 40}], x] (* Vincenzo Librandi, Dec 10 2014 *)
PROG
(Magma) [n*(n^5+1)/2: n in [0..40]]; // Vincenzo Librandi, Dec 10 2014
(SageMath) [n*(n^5+1)/2 for n in range(41)] # G. C. Greubel, Jan 17 2023
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Dec 11 2009
STATUS
approved