OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..100
Index entries for linear recurrences with constant coefficients, signature (0,244,0,-1).
FORMULA
G.f.: (11 + 122*x + 11*x^2 - x^3) / (1 - 244*x^2 + x^4). [Bruno Berselli, Oct 31 2013]
MATHEMATICA
Numerator[Convergents[Sqrt[123], 20]] (* Vincenzo Librandi, Oct 31 2013 *)
LinearRecurrence[{0, 244, 0, -1}, {11, 122, 2695, 29767}, 20] (* Bruno Berselli, Oct 31 2013 *)
PROG
(Magma) m:=20; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!((11+122*x+11*x^2-x^3)/(1-244*x^2+x^4))); // Bruno Berselli, Oct 31 2013
CROSSREFS
KEYWORD
nonn,cofr,frac,easy
AUTHOR
STATUS
approved