OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..150
Index entries for linear recurrences with constant coefficients, signature (0,0,0,898,0,0,0,-1).
FORMULA
G.f.: (11 +45*x +101*x^2 +449*x^3 +101*x^4 -45*x^5 +11*x^6 -x^7) / ((1 -30*x^2 +x^4)*(1 +30*x^2 +x^4)). [Bruno Berselli, Oct 31 2013]
MATHEMATICA
Numerator[Convergents[Sqrt[126], 30]] (* Vincenzo Librandi, Oct 31 2013 *)
LinearRecurrence[{0, 0, 0, 898, 0, 0, 0, -1}, {11, 45, 101, 449, 9979, 40365, 90709, 403201}, 30] (* Bruno Berselli, Oct 31 2013 *)
PROG
(Magma) m:=30; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!((11+45*x+101*x^2+449*x^3+101*x^4-45*x^5+11*x^6-x^7)/((1-30*x^2+x^4)*(1+30*x^2+x^4)))); // Bruno Berselli, Oct 31 2013
CROSSREFS
KEYWORD
nonn,cofr,frac,easy
AUTHOR
STATUS
approved