OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
Index entries for linear recurrences with constant coefficients, signature (0, 0, 0, 6082, 0, 0, 0, -1).
FORMULA
G.f.: (29 +117*x +731*x^2 +3041*x^3 +731*x^4 -117*x^5 +29*x^6 -x^7)/(1 -6082*x^4 +x^8). - Vincenzo Librandi, Nov 30 2013
a(n) = 6082*a(n-4) - a(n-8). - Vincenzo Librandi, Nov 30 2013
MATHEMATICA
Numerator[Convergents[Sqrt[855], 30]] (* or *) CoefficientList[Series[(29 + 117 x + 731 x^2 + 3041 x^3 + 731 x^4 - 117 x^5 + 29 x^6 - x^7)/(1 - 6082 x^4 + x^8), {x, 0, 30}], x] (* Vincenzo Librandi, Nov 30 2013 *)
LinearRecurrence[{0, 0, 0, 6082, 0, 0, 0, -1}, {29, 117, 731, 3041, 177109, 711477, 4445971, 18495361}, 20] (* Harvey P. Dale, Oct 22 2017 *)
PROG
(Magma) I:=[29, 117, 731, 3041, 177109, 711477, 4445971, 18495361]; [n le 8 select I[n] else 6082*Self(n-4)-Self(n-8): n in [1..30]]; // Vincenzo Librandi, Nov 30 2013
CROSSREFS
KEYWORD
nonn,cofr,frac,easy
AUTHOR
STATUS
approved