%I #22 Dec 27 2023 00:18:45
%S 9,2,3,3,2,18,2,3,3,2,18,2,3,3,2,18,2,3,3,2,18,2,3,3,2,18,2,3,3,2,18,
%T 2,3,3,2,18,2,3,3,2,18,2,3,3,2,18,2,3,3,2,18,2,3,3,2,18,2,3,3,2,18,2,
%U 3,3,2,18,2,3,3,2,18,2,3,3,2
%N Continued fraction for sqrt(89).
%H Harry J. Smith, <a href="/A010161/b010161.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_05">Index entries for linear recurrences with constant coefficients</a>, signature (0, 0, 0, 0, 1).
%e 9.433981132056603811320660377... = 9 + 1/(2 + 1/(3 + 1/(3 + 1/(2 + ...)))). - _Harry J. Smith_, Jun 10 2009
%t ContinuedFraction[Sqrt[89],300] (* _Vladimir Joseph Stephan Orlovsky_, Mar 10 2011 *)
%o (PARI) { allocatemem(932245000); default(realprecision, 25000); x=contfrac(sqrt(89)); for (n=0, 20000, write("b010161.txt", n, " ", x[n+1])); } \\ _Harry J. Smith_, Jun 10 2009
%Y Cf. A010540 Decimal expansion. - _Harry J. Smith_, Jun 10 2009
%K nonn,cofr
%O 0,1
%A _N. J. A. Sloane_
|