|
|
A041756
|
|
Numerators of continued fraction convergents to sqrt(398).
|
|
2
|
|
|
19, 20, 379, 399, 15541, 15940, 302461, 318401, 12401699, 12720100, 241363499, 254083599, 9896540261, 10150623860, 192607769741, 202758393601, 7897426726579, 8100185120180, 153700758889819
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
LINKS
|
|
|
FORMULA
|
G.f.: (19 + 20*x + 379*x^2 + 399*x^3 + 379*x^4 - 20*x^5 + 19*x^6 - x^7)/(1 - 798*x^4 + x^8). - Vincenzo Librandi, Nov 08 2013
|
|
MATHEMATICA
|
Numerator[Convergents[Sqrt[398], 30]] (* Harvey P. Dale, Nov 29 2012 *)
CoefficientList[Series[(19 + 20 x + 379 x^2 + 399 x^3 + 379 x^4 - 20 x^5 + 19 x^6 - x^7)/(1 - 798 x^4 + x^8), {x, 0, 30}], x] (* Vincenzo Librandi, Nov 08 2013 *)
|
|
PROG
|
(Magma) I:=[19, 20, 379, 399, 15541, 15940, 302461, 318401]; [n le 8 select I[n] else 798*Self(n-4)-Self(n-8): n in [1..30]]; // Vincenzo Librandi, Nov 08 2013
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,cofr,frac,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|