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.

A040272 Continued fraction for sqrt(290).

Original entry on oeis.org

17, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34, 34
Offset: 0

Views

Author

Keywords

Examples

			17 + 1/(34 + 1/(34 + 1/(34 + 1/(34 + ...)))) = sqrt(290).
		

Crossrefs

Cf. A040000, A041544/A041545 (convergents).

Programs

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

Formula

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