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.

A040342 Continued fraction for sqrt(362).

Original entry on oeis.org

19, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38
Offset: 0

Views

Author

Keywords

Examples

			19 + 1/(38 + 1/(38 + 1/(38 + 1/(38 + ...)))) = sqrt(362).
		

Crossrefs

Cf. A040000, A041684/A041685 (convergents).

Programs

  • Maple
    with(numtheory): Digits := 300: convert(evalf(sqrt(362)),confrac);

Formula

From Elmo R. Oliveira, Feb 14 2024: (Start)
a(n) = 38 for n >= 1.
G.f.: 19*(1+x)/(1-x).
E.g.f.: 38*exp(x) - 19.
a(n) = 19*A040000(n). (End)