OFFSET
0,2
COMMENTS
Binomial transform of A048474
LINKS
Index entries for linear recurrences with constant coefficients, signature (8,-21,18).
FORMULA
G.f.: (1-3*x+3*x^2)/((1-2*x)*(1-3*x)^2).
E.g.f.: exp(2*x) + 3*x*exp(3*x). - Amiram Eldar, Jan 25 2026
MATHEMATICA
Table[2^n+n*3^n, {n, 0, 30}] (* or *) LinearRecurrence[{8, -21, 18}, {1, 5, 22}, 30] (* Harvey P. Dale, Jun 06 2017 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Jul 09 2003
EXTENSIONS
More terms from Amiram Eldar, Jan 25 2026
STATUS
approved
