OFFSET
0,2
COMMENTS
LINKS
Index entries for linear recurrences with constant coefficients, signature (4,-6,4,-1).
FORMULA
G.f.: x*(7+10*x+x^2) / (x-1)^4 . - R. J. Mathar, Oct 28 2014
a(n) = n*A003215(n). - R. J. Mathar, Oct 28 2014
MATHEMATICA
Table[n (3 n^2 + 3 n + 1), {n, 0, 38}] (* or *)
CoefficientList[Series[x (7 + 10 x + x^2)/(x - 1)^4, {x, 0, 38}], x] (* Michael De Vlieger, May 23 2017 *)
PROG
(PARI) A249354(n)=3*n^3+3*n^2+n
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
M. F. Hasler, Oct 26 2014
STATUS
approved