OFFSET
1,7
COMMENTS
The ratio is "ringing" cyclic:
Table[N[a[[n]]/a[[n - 1]]], {n, 8, 100}]
The sequence alternates and is relatively low in value a little longer than other such sequences.
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,0,0,-3,3,-1).
FORMULA
G.f.: x^3*(x-1)^2*(x+1) / (x^6-3*x^5+3*x^4-x+1). - Colin Barker, Feb 02 2013
MATHEMATICA
Clear[v, m, n, M0, N0] v[0] = {0, 0, 1}; v[1] = {0, 1, 2}; M0 = {{0, 1, 0}, {0, 0, 1}, {1, 0, 1}}; N0 = {{0, 1, 0}, {0, 0, 1}, {1, 1, 1}}; v[n_] := v[n] = N0.v[n - 1] - M0.v[n - 2] a = Table[v[n][[1]], {n, 0, 100}]
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Roger L. Bagula, Mar 03 2008
EXTENSIONS
Better name by Colin Barker, Feb 02 2013
STATUS
approved