%I #25 Dec 27 2023 00:14:54
%S 7,4,1,2,1,4,14,4,1,2,1,4,14,4,1,2,1,4,14,4,1,2,1,4,14,4,1,2,1,4,14,4,
%T 1,2,1,4,14,4,1,2,1,4,14,4,1,2,1,4,14,4,1,2,1,4,14,4,1,2,1,4,14,4,1,2,
%U 1,4,14,4,1,2,1,4,14,4,1
%N Continued fraction for sqrt(52).
%H Harry J. Smith, <a href="/A010138/b010138.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_06">Index entries for linear recurrences with constant coefficients</a>, signature (0, 0, 0, 0, 0, 1).
%e 7.211102550927978586238442534... = 7 + 1/(4 + 1/(1 + 1/(2 + 1/(1 + ...)))). - _Harry J. Smith_, Jun 06 2009
%t ContinuedFraction[Sqrt[52],300] (* _Vladimir Joseph Stephan Orlovsky_, Mar 07 2011 *)
%t PadRight[{7},120,{14,4,1,2,1,4}] (* _Harvey P. Dale_, Nov 22 2018 *)
%o (PARI) { allocatemem(932245000); default(realprecision, 21000); x=contfrac(sqrt(52)); for (n=0, 20000, write("b010138.txt", n, " ", x[n+1])); } \\ _Harry J. Smith_, Jun 06 2009
%Y Cf. A010505 Decimal expansion. - _Harry J. Smith_, Jun 06 2009
%K nonn,cofr
%O 0,1
%A _N. J. A. Sloane_
|