OFFSET
0,3
COMMENTS
Second column of A091595.
LINKS
Index entries for linear recurrences with constant coefficients, signature (2,3,-4,-4).
FORMULA
From Amiram Eldar, Jan 18 2026: (Start)
a(n) = ((3*n + 8)*2^n + (3*n - 8)*(-1)^n) / 27.
E.g.f.: ((6*x+8)*exp(2*x) - (3*x+8)*exp(-x))/27. (End)
MATHEMATICA
CoefficientList[Series[x (1-2x^2)/(1-x-2x^2)^2, {x, 0, 30}], x] (* or *) LinearRecurrence[{2, 3, -4, -4}, {0, 1, 2, 5}, 40] (* Harvey P. Dale, Dec 01 2015 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Jan 23 2004
STATUS
approved
