login
A133665
a(n) = a(n-1) - 9*a(n-2), a(0) = 1, a(1) = 3.
2
1, 3, -6, -33, 21, 318, 129, -2733, -3894, 20703, 55749, -130578, -632319, 542883, 6233754, 1347807, -54755979, -66886242, 425917569, 1027893747, -2805364374, -12056408097, 13191871269, 121699544142, 2972702721, -1092323194557, -1119077519046, 8711831231967
OFFSET
0,2
FORMULA
G.f.: (1+2*x)/(1-x+9*x^2).
a(n) = Sum_{k=0..n} A133607(n,k)*3^k. - Philippe Deléham, Dec 29 2007
MATHEMATICA
LinearRecurrence[{1, -9}, {1, 3}, 40] (* Harvey P. Dale, Apr 21 2019 *)
PROG
(PARI) Vec((1+2*x)/(1-x+9*x^2) + O(x^30)) \\ Jinyuan Wang, Apr 09 2020
CROSSREFS
Cf. A133607.
Sequence in context: A101751 A374876 A274999 * A124178 A284633 A192166
KEYWORD
sign,easy
AUTHOR
Philippe Deléham, Dec 28 2007
EXTENSIONS
Corrected and extended by Harvey P. Dale, Apr 21 2019
STATUS
approved