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.

Showing 1-2 of 2 results.

A041289 Denominators of continued fraction convergents to sqrt(157).

Original entry on oeis.org

1, 1, 2, 15, 17, 100, 217, 317, 534, 851, 1385, 3621, 19490, 23111, 181267, 204378, 385645, 9459858, 9845503, 19305361, 144983030, 164288391, 966424985, 2097138361, 3063563346, 5160701707, 8224265053
Offset: 0

Views

Author

Keywords

Crossrefs

Cf. A041288.

Programs

  • Mathematica
    Denominator[Convergents[Sqrt[157], 30]] (* Vincenzo Librandi, Dec 14 2013 *)

Formula

a(n) = 9664236*a(n-17) + a(n-34) for n>33. [Bruno Berselli, Dec 14 2013]

A010206 Continued fraction for sqrt(157).

Original entry on oeis.org

12, 1, 1, 7, 1, 5, 2, 1, 1, 1, 1, 2, 5, 1, 7, 1, 1, 24, 1, 1, 7, 1, 5, 2, 1, 1, 1, 1, 2, 5, 1, 7, 1, 1, 24, 1, 1, 7, 1, 5, 2, 1, 1, 1, 1, 2, 5, 1, 7, 1, 1, 24, 1, 1, 7, 1, 5, 2, 1, 1, 1, 1, 2, 5, 1, 7, 1, 1, 24, 1, 1, 7, 1, 5, 2, 1, 1, 1, 1
Offset: 0

Views

Author

Keywords

Crossrefs

Cf. A041288/A041289 (convergents), A178310 (decimal expansion).

Programs

  • Maple
    Digits := 100: convert(evalf(sqrt(N)),confrac,90,'cvgts'):
  • Mathematica
    ContinuedFraction[Sqrt[157],300] (* Vladimir Joseph Stephan Orlovsky, Mar 23 2011 *)
    PadRight[{12},120,{24,1,1,7,1,5,2,1,1,1,1,2,5,1,7,1,1}] (* Harvey P. Dale, Jun 06 2021 *)
Showing 1-2 of 2 results.