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,240,0,0,0,-1).
FORMULA
G.f.: (10 +11*x +109*x^2 +120*x^3 +109*x^4 -11*x^5 +10*x^6 -x^7) / (1 -240*x^4 +x^8). [Bruno Berselli, Oct 31 2013]
MATHEMATICA
Numerator[Convergents[Sqrt[119], 30]] (* Vincenzo Librandi, Oct 31 2013 *)
LinearRecurrence[{0, 0, 0, 240, 0, 0, 0, -1}, {10, 11, 109, 120, 2509, 2629, 26170, 28799}, 30] (* Bruno Berselli, Oct 31 2013 *)
PROG
(Magma) m:=30; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!((10+11*x+109*x^2+120*x^3+109*x^4-11*x^5+10*x^6-x^7)/(1-240*x^4+x^8))); // Bruno Berselli, Oct 31 2013
CROSSREFS
KEYWORD
nonn,cofr,frac,easy
AUTHOR
STATUS
approved