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-3x+3x^2)/((1-2x)(1-3x)^2)
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
STATUS
approved