%I #24 Dec 27 2023 00:21:16
%S 9,1,2,3,1,1,5,1,8,1,5,1,1,3,2,1,18,1,2,3,1,1,5,1,8,1,5,1,1,3,2,1,18,
%T 1,2,3,1,1,5,1,8,1,5,1,1,3,2,1,18,1,2,3,1,1,5,1,8,1,5,1,1,3,2,1,18,1,
%U 2,3,1,1,5,1,8,1,5,1,1,3,2,1
%N Continued fraction for sqrt(94).
%H Harry J. Smith, <a href="/A010165/b010165.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_16">Index entries for linear recurrences with constant coefficients</a>, signature (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1).
%e 9.695359714832658028148881150... = 9 + 1/(1 + 1/(2 + 1/(3 + 1/(1 + ...)))). - _Harry J. Smith_, Jun 11 2009
%t ContinuedFraction[Sqrt[94],300] (* _Vladimir Joseph Stephan Orlovsky_, Mar 10 2011 *)
%t PadRight[{9},120,{18,1,2,3,1,1,5,1,8,1,5,1,1,3,2,1}] (* _Harvey P. Dale_, Aug 20 2020 *)
%o (PARI) { allocatemem(932245000); default(realprecision, 17000); x=contfrac(sqrt(94)); for (n=0, 20000, write("b010165.txt", n, " ", x[n+1])); } \\ _Harry J. Smith_, Jun 11 2009
%Y Cf. A010545 Decimal expansion. - _Harry J. Smith_, Jun 11 2009
%K nonn,cofr
%O 0,1
%A _N. J. A. Sloane_
|