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.

A089078 Continued fraction for sqrt(2) + sqrt(3).

Original entry on oeis.org

3, 6, 1, 5, 7, 1, 1, 4, 1, 38, 43, 1, 3, 2, 1, 1, 1, 1, 2, 4, 1, 4, 5, 1, 5, 1, 7, 22, 2, 5, 1, 1, 2, 1, 1, 31, 2, 1, 1, 3, 1, 44, 1, 89, 1, 8, 5, 2, 5, 1, 1, 4, 2, 8, 1, 17, 1, 4, 3, 4, 3, 2, 1, 1, 4, 2, 1, 9, 1, 15, 13, 1, 39, 20, 2, 152, 3, 2, 4, 1, 30, 1, 3, 1, 2, 1, 2, 16, 3, 24, 1, 9, 1, 172, 3, 1, 1
Offset: 0

Views

Author

Jeppe Stig Nielsen, Dec 04 2003

Keywords

Comments

This is the most natural example of the fact that the sum of two periodic continued fractions need not have a periodic continued fraction.
a(n) is the numbers of squares removed at stage n of the continued-fraction partitioning of a rectangle of length L and width W satisfying W=L*sqrt(8); see A188640. - Clark Kimberling, Apr 13 2011

Crossrefs

Cf. A135611.

Programs

  • Mathematica
    r = 8^(1/2); t = (r + (4 + r^2)^(1/2))/2; FullSimplify[t]
    N[t, 130]
    RealDigits[N[t, 130]][[1]]
    ContinuedFraction[t, 120]
    ContinuedFraction[Sqrt[2]+Sqrt[3],100] (* Harvey P. Dale, Aug 17 2019 *)
  • PARI
    contfrac(sqrt(2)+sqrt(3)) \\ Michel Marcus, Mar 12 2017