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-1 of 1 results.

A010171 Continued fraction for sqrt(103).

Original entry on oeis.org

10, 6, 1, 2, 1, 1, 9, 1, 1, 2, 1, 6, 20, 6, 1, 2, 1, 1, 9, 1, 1, 2, 1, 6, 20, 6, 1, 2, 1, 1, 9, 1, 1, 2, 1, 6, 20, 6, 1, 2, 1, 1, 9, 1, 1, 2, 1, 6, 20, 6, 1, 2, 1, 1, 9, 1, 1, 2, 1, 6, 20, 6, 1, 2, 1, 1, 9, 1, 1, 2, 1, 6, 20, 6, 1, 2, 1, 1, 9, 1, 1, 2, 1, 6, 20
Offset: 0

Views

Author

Keywords

Crossrefs

Cf. A187768 (sqrt(103)).

Programs

  • Mathematica
    ContinuedFraction[Sqrt[103],300] (* Vladimir Joseph Stephan Orlovsky, Mar 10 2011 *)
    PadRight[{10},120,{20,6,1,2,1,1,9,1,1,2,1,6}] (* Harvey P. Dale, Mar 25 2024 *)
  • Python
    from sympy import sqrt
    from sympy.ntheory.continued_fraction import continued_fraction_iterator
    def aupton(terms):
        gen = continued_fraction_iterator(sqrt(103))
        return [next(gen) for i in range(terms)]
    print(aupton(85)) # Michael S. Branicky, Oct 06 2021
Showing 1-1 of 1 results.