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.

A040506 Continued fraction for sqrt(530).

Original entry on oeis.org

23, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46
Offset: 0

Views

Author

Keywords

Examples

			23 + 1/(46 + 1/(46 + 1/(46 + 1/(46 + ...)))) = sqrt(530).
		

Crossrefs

Cf. A040000, A042012/A042013 (convergents).

Programs

  • Maple
    with(numtheory): Digits := 300: convert(evalf(sqrt(530)),confrac);
  • Mathematica
    Block[{$MaxExtraPrecision=1000}, ContinuedFraction[Sqrt[530],100]] (* or *) PadRight[{23},100,{46}] (* Harvey P. Dale, Jul 14 2024 *)

Formula

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