OFFSET
0,3
LINKS
Index entries for linear recurrences with constant coefficients, signature (5, 3, -15, 5, 3, -1).
FORMULA
G.f.: (1-4*x-6*x^2+5*x^3-6*x^4)/( (x^3-5*x^2+6*x-1)*(x^3+2*x^2-x-1) ).
MATHEMATICA
m=3 M = {{0, 1, 0, 0, 0, 0}, {0, 0, 1, 0, 0, 0}, {0, 0, 0, 1, 0, 0}, {0, 0, 0, 0, 1, 0}, {0, 0, 0, 0, 0, 1}, {-1, m, (m + 2), -m*(m + 2), m, (m + 2)}} v[0] = {0, 1, 1, 2, 3, 5} v[n_] := M.v[n - 1] a = Table[v[n][[1]], {n, 1, 50}]
LinearRecurrence[{5, 3, -15, 5, 3, -1}, {1, 1, 2, 3, 5, 12}, 30] (* Harvey P. Dale, Aug 30 2021 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Roger L. Bagula, May 27 2005
EXTENSIONS
Definition replaced by recurrence by the Associate Editors of the OEIS, Sep 28 2009
STATUS
approved