login
Continued fraction for sqrt(68).
4

%I #22 Dec 27 2023 00:38:17

%S 8,4,16,4,16,4,16,4,16,4,16,4,16,4,16,4,16,4,16,4,16,4,16,4,16,4,16,4,

%T 16,4,16,4,16,4,16,4,16,4,16,4,16,4,16,4,16,4,16,4,16,4,16,4,16,4,16,

%U 4,16,4,16,4,16,4,16,4,16,4

%N Continued fraction for sqrt(68).

%H Harry J. Smith, <a href="/A040059/b040059.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 8.2462112512353210996428197... = 8 + 1/(4 + 1/(16 + 1/(4 + 1/(16 + ...)))). - _Harry J. Smith_, Jun 08 2009

%p Digits := 100: convert(evalf(sqrt(N)),confrac,90,'cvgts'):

%t ContinuedFraction[Sqrt[68],300] (* _Vladimir Joseph Stephan Orlovsky_, Mar 08 2011 *)

%o (PARI) { allocatemem(932245000); default(realprecision, 37000); x=contfrac(sqrt(68)); for (n=0, 20000, write("b040059.txt", n, " ", x[n+1])); } \\ _Harry J. Smith_, Jun 08 2009

%Y Cf. A010520 Decimal expansion. - _Harry J. Smith_, Jun 08 2009

%K nonn,cofr,easy

%O 0,1

%A _N. J. A. Sloane_