OFFSET
0,3
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..500
Index entries for linear recurrences with constant coefficients, signature (9,-3).
FORMULA
G.f.: x/(1-9*x+3*x^2). - Philippe Deléham, Oct 12 2011
MATHEMATICA
LinearRecurrence[{9, -3}, {0, 1}, 50]
CoefficientList[Series[x/(1-9*x+3*x^2), {x, 0, 50}], x] (* G. C. Greubel, Jan 14 2018 *)
PROG
(PARI) x='x+O('x^30); concat([0], Vec(x/(1-9*x+3*x^2))) \\ G. C. Greubel, Jan 14 2018
(Magma) I:=[0, 1]; [n le 2 select I[n] else 9*Self(n-1) - 3*Self(n-2): n in [1..30]]; // G. C. Greubel, Jan 14 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Joseph Stephan Orlovsky, May 24 2011
STATUS
approved