|
|
A042538
|
|
Numerators of continued fraction convergents to sqrt(798).
|
|
2
|
|
|
28, 113, 6356, 25537, 1436428, 5771249, 324626372, 1304276737, 73364123644, 294760771313, 16579967317172, 66614630040001, 3746999249557228, 15054611628268913, 846805250432616356
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
LINKS
|
|
|
FORMULA
|
G.f.: (28 + 113*x + 28*x^2 - x^3)/(1 - 226*x^2 + x^4). - Vincenzo Librandi, Nov 27 2013
|
|
MATHEMATICA
|
Numerator[Convergents[Sqrt[798], 30]] (* or *) CoefficientList[Series[(28 + 113 x + 28 x^2 - x^3)/(1 - 226 x^2 + x^4), {x, 0, 30}], x] (* Vincenzo Librandi, Nov 27 2013 *)
LinearRecurrence[{0, 226, 0, -1}, {28, 113, 6356, 25537}, 20] (* Harvey P. Dale, Mar 14 2023 *)
|
|
PROG
|
(Magma) I:=[28, 113, 6356, 25537]; [n le 4 select I[n] else 226*Self(n-2)-Self(n-4): n in [1..30]]; // Vincenzo Librandi, Nov 27 2013
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,cofr,frac,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|