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.

A010128 Continued fraction for sqrt(29).

This page as a plain text file.
%I A010128 #37 Jul 26 2025 10:28:40
%S A010128 5,2,1,1,2,10,2,1,1,2,10,2,1,1,2,10,2,1,1,2,10,2,1,1,2,10,2,1,1,2,10,
%T A010128 2,1,1,2,10,2,1,1,2,10,2,1,1,2,10,2,1,1,2,10,2,1,1,2,10,2,1,1,2,10,2,
%U A010128 1,1,2,10,2,1,1,2,10,2,1,1,2,10,2,1,1,2,10
%N A010128 Continued fraction for sqrt(29).
%D A010128 James J. Tattersall, Elementary Number Theory in Nine Chapters, Cambridge University Press, 1999, page 276.
%H A010128 Harry J. Smith, <a href="/A010128/b010128.txt">Table of n, a(n) for n = 0..20000</a>
%H A010128 G. Xiao, <a href="http://wims.unice.fr/~wims/en_tool~number~contfrac.en.html">Contfrac</a>
%H A010128 <a href="/index/Con#confC">Index entries for continued fractions for constants</a>
%H A010128 <a href="/index/Rec#order_05">Index entries for linear recurrences with constant coefficients</a>, signature (0,0,0,0,1).
%F A010128 G.f.: (5 + 2*x + x^2 + x^3 + 2*x^4 + 5*x^5)/(1 - x^5). - _Stefano Spezia_, Jul 26 2025
%e A010128 5.385164807134504031250710491... = 5 + 1/(2 + 1/(1 + 1/(1 + 1/(2 + ...)))). - _Harry J. Smith_, Jun 04 2009
%t A010128 ContinuedFraction[Sqrt[29], 300] (* _Vladimir Joseph Stephan Orlovsky_, Mar 06 2011 *)
%t A010128 PadRight[{5},120,{10,2,1,1,2}] (* _Harvey P. Dale_, Apr 18 2017 *)
%o A010128 (PARI) { allocatemem(932245000); default(realprecision, 18000); x=contfrac(sqrt(29)); for (n=0, 20000, write("b010128.txt", n, " ", x[n+1])); } \\ _Harry J. Smith_, Jun 04 2009
%Y A010128 Cf. A010484 (Decimal expansion). - _Harry J. Smith_, Jun 04 2009
%K A010128 nonn,cofr,easy
%O A010128 0,1
%A A010128 _N. J. A. Sloane_