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.

A041288 Numerators of continued fraction convergents to sqrt(157).

Original entry on oeis.org

12, 13, 25, 188, 213, 1253, 2719, 3972, 6691, 10663, 17354, 45371, 244209, 289580, 2271269, 2560849, 4832118, 118531681, 123363799, 241895480, 1816632159, 2058527639, 12109270354, 26277068347
Offset: 0

Views

Author

Keywords

Crossrefs

Cf. A041289.

Programs

  • Mathematica
    Numerator[Convergents[Sqrt[157], 30]] (* Vincenzo Librandi, Nov 01 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.