OFFSET
0,3
COMMENTS
LINKS
Index entries for linear recurrences with constant coefficients, signature (2,3,-4,-4).
FORMULA
G.f.: x(1+2x^2)/(1-x-2x^2)^2; a(n)=n2^n/3-n(-1)^n/3.
a(n) = n*A001045(n). - R. J. Mathar, May 07 2019
MATHEMATICA
LinearRecurrence[{2, 3, -4, -4}, {0, 1, 2, 9}, 30] (* Harvey P. Dale, Jun 17 2017 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Barry, Apr 20 2004
STATUS
approved