OFFSET
0,3
LINKS
Index entries for linear recurrences with constant coefficients, signature (7, 5, -35, 7, 5, -1).
FORMULA
G.f.: (1-6*x-10*x^2+16*x^5+124*x^6+290*x^7-96*x^8-44*x^9+10*x^10+19*x^3+2*x^4) / (1-7*x-5*x^2+35*x^3-7*x^4-5*x^5+x^6).
MATHEMATICA
m=5 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[Abs[v[n][[1]]], {n, 1, 50}]
Join[{1, 1, 2, 3, 5}, LinearRecurrence[{7, 5, -35, 7, 5, -1}, {8, 118, 1011, 7339, 52332, 368505}, 20]] (* Harvey P. Dale, Mar 30 2012 *)
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