OFFSET
0,2
LINKS
Colin Barker, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (13,-39,27).
FORMULA
a(n) = 13*a(n-1) - 39*a(n-2) + 27*a(n-3). G.f.: -(1-8*x+9*x^2)/((x-1)*(3*x-1)*(9*x-1)). [R. J. Mathar, Jul 25 2009]
PROG
(PARI) Vec((1 - 8*x + 9*x^2) / ((1 - x)*(1 - 3*x)*(1 - 9*x)) + O(x^30)) \\ Colin Barker, Jul 16 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved