OFFSET
0,2
LINKS
FORMULA
a(n+1) = 3*a(n) + n.
G.f.: (1-2*x+2*x^2) / ((1-3*x)*(1-x)^2).
E.g.f.: exp(x)*(5*exp(2*x) - 2*x - 1)/4. - Stefano Spezia, Aug 28 2023
MATHEMATICA
CoefficientList[Series[(1-2*x+2*x^2)/((1-3*x)*(1-x)^2), {x, 0, 30}], x] (* Vaclav Kotesovec, Jul 06 2014 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Franklin T. Adams-Watters, Jul 06 2014
STATUS
approved