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,164,0,0,1).
FORMULA
G.f.: -(x^4-2*x^3+5*x^2+2*x+1) / (x^6+164*x^3-1). - Colin Barker, Nov 18 2013
a(n) = 164*a(n-3) + a(n-6) for n>5. - Vincenzo Librandi, Dec 19 2013
MATHEMATICA
Denominator[Convergents[Sqrt[269], 30]] (* Vincenzo Librandi, Dec 19 2013 *)
LinearRecurrence[{0, 0, 164, 0, 0, 1}, {1, 2, 5, 162, 329, 820}, 30] (* Harvey P. Dale, Jan 22 2019 *)
PROG
(Magma) I:=[1, 2, 5, 162, 329, 820]; [n le 6 select I[n] else 164*Self(n-3)+Self(n-6): n in [1..30]]; // Vincenzo Librandi, Dec 19 2013
CROSSREFS
KEYWORD
nonn,frac,easy
AUTHOR
EXTENSIONS
More terms from Colin Barker, Nov 18 2013
STATUS
approved