login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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
a(n) = 226*a(n-2) - a(n-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
Cf. A042539.
Sequence in context: A219594 A042534 A042536 * A251320 A233372 A220755
KEYWORD
nonn,cofr,frac,easy
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 04:14 EDT 2024. Contains 371918 sequences. (Running on oeis4.)