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.

A010135 Continued fraction for sqrt(45).

This page as a plain text file.
%I A010135 #30 Jul 27 2025 10:06:20
%S A010135 6,1,2,2,2,1,12,1,2,2,2,1,12,1,2,2,2,1,12,1,2,2,2,1,12,1,2,2,2,1,12,1,
%T A010135 2,2,2,1,12,1,2,2,2,1,12,1,2,2,2,1,12,1,2,2,2,1,12,1,2,2,2,1,12,1,2,2,
%U A010135 2,1,12,1,2,2,2,1,12,1,2
%N A010135 Continued fraction for sqrt(45).
%D A010135 James J. Tattersall, Elementary Number Theory in Nine Chapters, Cambridge University Press, 1999, page 276.
%H A010135 Harry J. Smith, <a href="/A010135/b010135.txt">Table of n, a(n) for n = 0..20000</a>
%H A010135 G. Xiao, <a href="http://wims.unice.fr/~wims/en_tool~number~contfrac.en.html">Contfrac</a>
%H A010135 <a href="/index/Con#confC">Index entries for continued fractions for constants</a>
%H A010135 <a href="/index/Rec#order_06">Index entries for linear recurrences with constant coefficients</a>, signature (0,0,0,0,0,1).
%F A010135 G.f.: (6 + x + 2*x^2 + 2*x^3 + 2*x^4 + x^5 + 6*x^6)/(1 - x^6). - _Stefano Spezia_, Jul 27 2025
%e A010135 6.708203932499369089227521006... = 6 + 1/(1 + 1/(2 + 1/(2 + 1/(2 + ...)))). - _Harry J. Smith_, Jun 06 2009
%t A010135 ContinuedFraction[Sqrt[45],300] (* _Vladimir Joseph Stephan Orlovsky_, Mar 07 2011 *)
%o A010135 (PARI) { allocatemem(932245000); default(realprecision, 17000); x=contfrac(sqrt(45)); for (n=0, 20000, write("b010135.txt", n, " ", x[n+1])); } \\ _Harry J. Smith_, Jun 06 2009
%Y A010135 Cf. A010499 (decimal expansion), A041076/A041077 (convergents).
%K A010135 nonn,cofr,easy
%O A010135 0,1
%A A010135 _N. J. A. Sloane_