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, 848, 0, 0, 0, -1).
FORMULA
G.f.: (28 +85*x +113*x^2 +424*x^3 +113*x^4 -85*x^5 +28 *x^6 -x^7)/(1 -848*x^4 +x^8). - Vincenzo Librandi, Nov 27 2013
a(n) = 848*a(n-4) - a(n-8). - Vincenzo Librandi, Nov 27 2013
MATHEMATICA
Numerator[Convergents[Sqrt[799], 30]] (* or *) CoefficientList[Series[(28 +85 x + 113 x^2 + 424 x^3 + 113 x^4 - 85 x^5 + 28 x^6 - x^7)/(1 - 848 x^4 + x^8), {x, 0, 30}], x] (* Vincenzo Librandi, Nov 27 2013 *)
PROG
(Magma) I:=[28, 85, 113, 424, 23857, 71995, 95852, 359551]; [n le 8 select I[n] else 848*Self(n-4)-Self(n-8): n in [1..30]]; // Vincenzo Librandi, Nov 27 2013
CROSSREFS
KEYWORD
nonn,cofr,frac,easy
AUTHOR
STATUS
approved