OFFSET
0,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
Index entries for linear recurrences with constant coefficients, signature (0,0,654,0,0,1).
FORMULA
G.f.: -(x^4-4*x^3+17*x^2+4*x+1) / (x^6+654*x^3-1). - Colin Barker, Nov 22 2013
a(n) = 654*a(n-3) + a(n-6) for n>5. - Vincenzo Librandi, Dec 23 2013
MATHEMATICA
Denominator[Convergents[Sqrt[370], 20]] (* Harvey P. Dale, Nov 01 2011 *)
CoefficientList[Series[-(x^4 - 4 x^3 + 17 x^2 + 4 x + 1)/(x^6 + 654 x^3 - 1), {x, 0, 30}], x] (* Vincenzo Librandi, Dec 23 2013 *)
PROG
(Magma) I:=[1, 4, 17, 650, 2617, 11118]; [n le 6 select I[n] else 654*Self(n-3)+Self(n-6): n in [1..40]]; // Vincenzo Librandi, Dec 23 2013
CROSSREFS
KEYWORD
nonn,frac,easy
AUTHOR
EXTENSIONS
More terms from Colin Barker, Nov 22 2013
STATUS
approved