OFFSET
0,2
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (18,-81).
FORMULA
G.f.: -9*(4*x-1)*x/(9*x-1)^2.
a(n) = 9^(n-1)*(5*n+4) for n>0, a(0) = 0.
a(n) = 18*a(n-1) - 81*a(n-2). - Wesley Ivan Hurt, May 24 2024
MAPLE
a:= n-> `if`(n=0, 0, 9^(n-1)*(5*n+4)):
seq(a(n), n=0..30);
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Alois P. Heinz, Sep 18 2013
STATUS
approved