%I #23 Dec 27 2023 00:38:29
%S 7,2,14,2,14,2,14,2,14,2,14,2,14,2,14,2,14,2,14,2,14,2,14,2,14,2,14,2,
%T 14,2,14,2,14,2,14,2,14,2,14,2,14,2,14,2,14,2,14,2,14,2,14,2,14,2,14,
%U 2,14,2,14,2,14,2,14,2,14,2
%N Continued fraction for sqrt(56).
%H Harry J. Smith, <a href="/A040048/b040048.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_02">Index entries for linear recurrences with constant coefficients</a>, signature (0, 1).
%e 7.4833147735478827711674974... = 7 + 1/(2 + 1/(14 + 1/(2 + 1/(14 + ...)))). - _Harry J. Smith_, Jun 06 2009
%p Digits := 100: convert(evalf(sqrt(N)),confrac,90,'cvgts'):
%t ContinuedFraction[Sqrt[56],300] (* _Vladimir Joseph Stephan Orlovsky_, Mar 07 2011 *)
%o (PARI) { allocatemem(932245000); default(realprecision, 30000); x=contfrac(sqrt(56)); for (n=0, 20000, write("b040048.txt", n, " ", x[n+1])); } \\ _Harry J. Smith_, Jun 06 2009
%Y Cf. A010509 Decimal expansion. - _Harry J. Smith_, Jun 06 2009
%K nonn,cofr,easy
%O 0,1
%A _N. J. A. Sloane_
|