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.

A040006 Continued fraction for sqrt(10).

Original entry on oeis.org

3, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6
Offset: 0

Views

Author

Keywords

Comments

Eventual period is (6). - Zak Seidov, Mar 05 2011
The convergents are given in A005667(n+1)/A005668(n+1), n >= 0. - Wolfdieter Lang, Nov 23 2017
Decimal expansion of 11/30. - Elmo R. Oliveira, Feb 16 2024

Examples

			3.162277660168379331998893544... = 3 + 1/(6 + 1/(6 + 1/(6 + 1/(6 + ...)))).
		

References

  • James J. Tattersall, Elementary Number Theory in Nine Chapters, Cambridge University Press, 1999, page 276.

Crossrefs

Cf. A010467 (decimal expansion), A005667(n+1)/A005668(n+1) (convergents), A248239 (Egyptian fraction).
Cf. A040000.

Programs

Formula

a(n) = 3 + 3*sign(n). a(n) = 6, n > 0. - Wesley Ivan Hurt, Nov 01 2013
From Elmo R. Oliveira, Feb 16 2024: (Start)
G.f.: 3*(1+x)/(1-x).
E.g.f.: 6*exp(x) - 3.
a(n) = 3*A040000(n). (End)