%I #23 Dec 27 2023 00:24:32
%S 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 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 10,1,1,3,5,3,1,1,10,1,1,3,5,3
%N Continued fraction for sqrt(31).
%H Harry J. Smith, <a href="/A010129/b010129.txt">Table of n, a(n) for n = 0..20000</a>
%H G. Xiao, <a href="http://wims.unice.fr/~wims/en_tool~number~contfrac.en.html">Contfrac</a>
%H <a href="/index/Con#confC">Index entries for continued fractions for constants</a>
%H <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 5.567764362830021922119471298... = 5 + 1/(1 + 1/(1 + 1/(3 + 1/(5 + ...)))). - _Harry J. Smith_, Jun 04 2009
%t ContinuedFraction[Sqrt[31],300] (* _Vladimir Joseph Stephan Orlovsky_, Mar 06 2011 *)
%o (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 Cf. A010486 Decimal expansion. - _Harry J. Smith_, Jun 04 2009
%K nonn,cofr
%O 0,1
%A _N. J. A. Sloane_
|