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.

A041056 Numerators of continued fraction convergents to sqrt(34).

Original entry on oeis.org

5, 6, 29, 35, 379, 414, 2035, 2449, 26525, 28974, 142421, 171395, 1856371, 2027766, 9967435, 11995201, 129919445, 141914646, 697578029, 839492675, 9092504779, 9931997454, 48820494595, 58752492049
Offset: 0

Views

Author

Keywords

Crossrefs

Programs

  • Mathematica
    Table[Numerator[FromContinuedFraction[ContinuedFraction[Sqrt[34], n]]], {n, 1, 50}] (* Vladimir Joseph Stephan Orlovsky, Mar 18 2011 *)
    Numerator[Convergents[Sqrt[34],30]] (* Harvey P. Dale, Feb 17 2012 *)
    CoefficientList[Series[- (x^7 - 5 x^6 + 6 x^5 - 29 x^4 - 35 x^3 - 29 x^2 - 6 x - 5)/(x^8 - 70 x^4 + 1), {x, 0, 30}], x] (* Vincenzo Librandi, Oct 23 2013 *)

Formula

a(n) = 70*a(n-4)-a(n-8). G.f.: -(x^7-5*x^6+6*x^5-29*x^4-35*x^3-29*x^2-6*x-5)/(x^8-70*x^4+1). [Colin Barker, Jul 16 2012]