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.

A010129 Continued fraction for sqrt(31).

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