login
A041222
Numerators of continued fraction convergents to sqrt(123).
2
11, 122, 2695, 29767, 657569, 7263026, 160444141, 1772148577, 39147712835, 432396989762, 9551881487599, 105503093353351, 2330619935261321, 25742322381227882, 568661712322274725, 6281021157926249857, 138751127186699771579, 1532543420211623737226
OFFSET
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
Cf. A041223.
Sequence in context: A049666 A163462 A334000 * A097708 A015499 A039438
KEYWORD
nonn,cofr,frac,easy
AUTHOR
STATUS
approved