OFFSET
1,4
LINKS
Index entries for linear recurrences with constant coefficients, signature (8, -22, 24, -9).
FORMULA
a(n) = (36 + (n-4)*3^n + 9*n)/36.
O.g.f.: -x*(-1+7*x-15*x^2+8*x^3)/((-1+x)^2*(3*x-1)^2). - R. J. Mathar, Dec 10 2007
MAPLE
MATHEMATICA
Table[(9*(n+4)+(n-4)*3^n)/36, {n, 25}]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Zak Seidov, Sep 06 2006
STATUS
approved