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.

A040072 Continued fraction for sqrt(82).

Original entry on oeis.org

9, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18
Offset: 0

Views

Author

Keywords

Examples

			9.05538513813741662657380... = 9 + 1/(18 + 1/(18 + 1/(18 + 1/(18 + ...)))). - _Harry J. Smith_, Jun 10 2009
		

Crossrefs

Cf. A010533 (decimal expansion), A041144/A041145 (convergents), A248305 (Egyptian fraction).

Programs

  • Maple
    Digits := 100: convert(evalf(sqrt(N)),confrac,90,'cvgts'):
  • Mathematica
    ContinuedFraction[Sqrt[82],300] (* Vladimir Joseph Stephan Orlovsky, Mar 09 2011 *)
    PadRight[{9},120,{18}] (* Harvey P. Dale, Oct 09 2020 *)
  • PARI
    { allocatemem(932245000); default(realprecision, 51000); x=contfrac(sqrt(82)); for (n=0, 20000, write("b040072.txt", n, " ", x[n+1])); } \\ Harry J. Smith, Jun 10 2009

Formula

From Elmo R. Oliveira, Feb 10 2024: (Start)
a(n) = 18 = A010857(n) for n >= 1.
G.f.: 9*(1+x)/(1-x).
E.g.f.: 18*exp(x) - 9.
a(n) = 9*A040000(n) = 3*A040006(n). (End)