%I A040019
%S A040019 4,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,
%T A040019 1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,
%U A040019 8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8,1,8
%N A040019 Continued fraction for sqrt(24).
%H A040019 Harry J. Smith, <a href="b040019.txt">Table of n, a(n) for n=0,...,20000</
a>
%H A040019 G. Xiao, <a href="http://wims.unice.fr/~wims/en_tool~number~contfrac.en.html">
Contfrac</a>
%H A040019 <a href="Sindx_Con.html#confC">Index entries for continued fractions
for constants</a>
%F A040019 a(n)=(1/2)[9+7*(-1)^n]-4*[C(2*n,n) mod 2], with n>=0 [From Paolo P. Lava
(ppl(AT)spl.at), Jun 11 2009]
%e A040019 4.898979485566356196394568149... = 4 + 1/(1 + 1/(8 + 1/(1 + 1/(8 + ...))))
[From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Jun 03 2009]
%p A040019 Digits := 100: convert(evalf(sqrt(N)),confrac,90,'cvgts'):
%o A040019 (PARI) { allocatemem(932245000); default(realprecision, 21000); x=contfrac(sqrt(24));
for (n=0, 20000, write("b040019.txt", n, " ", x[n+1])); } [From Harry
J. Smith (hjsmithh(AT)sbcglobal.net), Jun 03 2009]
%Y A040019 Cf. A010480 Decimal expansion. [From Harry J. Smith (hjsmithh(AT)sbcglobal.net),
Jun 03 2009]
%Y A040019 Sequence in context: A089146 A101512 A085994 this_sequence A019768 A158496
A019425
%Y A040019 Adjacent sequences: A040016 A040017 A040018 this_sequence A040020 A040021
A040022
%K A040019 nonn,cofr,easy
%O A040019 0,1
%A A040019 N. J. A. Sloane (njas(AT)research.att.com).
|