cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A042624 Numerators of continued fraction convergents to sqrt(842).

Original entry on oeis.org

29, 1683, 97643, 5664977, 328666309, 19068310899, 1106290698451, 64183928821057, 3723774162319757, 216043085343366963, 12534222724077603611, 727200961081844376401, 42190189965471051434869, 2447758218958402827598803
Offset: 0

Views

Author

Keywords

Crossrefs

Cf. A042625.

Programs

  • Mathematica
    Numerator[Convergents[Sqrt[842], 20]] (* or *) LinearRecurrence[{58, 1}, {29, 1683}, 20] (* Harvey P. Dale, Sep 24 2013 *)
    CoefficientList[Series[(29 + x)/(1 - 58 x - x^2), {x, 0, 30}], x]  (* Vincenzo Librandi, Nov 30 2013 *)

Formula

a(n) = 58*a(n-1)+a(n-2) for n>1; a(0)=29, a(1)=1683. G.f.: (29+x)/(1-58*x-x^2). [Philippe Deléham, Nov 23 2008]