login
Continued fraction for cube root of 9.
2

%I #12 Dec 20 2015 03:02:32

%S 2,12,2,18,1,1,1,1,4,1,1,24,1,9,1,2,19,1,2,2,12,3,2,1,3,1,2,1,2,1,1,1,

%T 2,2,2,3,12,2,1,1,22,2,1,6,1,3,2,2,1,2,5,1,1,1,1,1,1,19,4,1,9,3,1,2,2,

%U 1,1,1,46,25,2,2,2,1,1,4,4

%N Continued fraction for cube root of 9.

%H Harry J. Smith, <a href="/A010239/b010239.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>

%e 9^(1/3) = 2.080083823051904... = 2 + 1/(12 + 1/(2 + 1/(18 + 1/(1 + ...)))). - _Harry J. Smith_, May 08 2009

%o (PARI) { allocatemem(932245000); default(realprecision, 21000); x=contfrac(9^(1/3)); for (n=1, 20001, write("b010239.txt", n-1, " ", x[n])); } \\ _Harry J. Smith_, May 08 2009

%Y Cf. A010581 = Decimal expansion. - _Harry J. Smith_, May 08 2009

%K nonn,cofr

%O 0,1

%A _N. J. A. Sloane_