login
Continued fraction for log(9).
2

%I #23 Jul 10 2024 23:58:18

%S 2,5,14,4,1,2,2,8,1,15,1,2,1,8,2,7,1,3,3,1,1,1,2,17,1,4,2,1,2,6,1,2,2,

%T 5,1,1,2,2,1,1,1,27,3,3,4,1,1,306,2,1,1,2,3,1,1,4,5,1,1,38,1,4,1,6,1,

%U 11,10,1,9,10,2,5,2,1,3,8,1,2,3,6,1,4,2,3

%N Continued fraction for log(9).

%H Harry J. Smith, <a href="/A016737/b016737.txt">Table of n, a(n) for n = 0..19999</a>

%H G. Xiao, <a href="http://wims.unice.fr/~wims/en_tool~number~contfrac.en.html">Contfrac</a>

%e 2.19722457733621938279049047... = 2 + 1/(5 + 1/(14 + 1/(4 + 1/(1 + ...)))). - _Harry J. Smith_, May 16 2009

%t ContinuedFraction[Log[9],120] (* _Harvey P. Dale_, May 21 2017 *)

%o (PARI) { allocatemem(932245000); default(realprecision, 21000); x=contfrac(log(9)); for (n=1, 20000, write("b016737.txt", n-1, " ", x[n])); } \\ _Harry J. Smith_, May 16 2009

%o (Magma) ContinuedFraction(2*Log(3)); // _G. C. Greubel_, Sep 15 2018

%Y Cf. A016632 (decimal expansion).

%K nonn,cofr

%O 0,1

%A _N. J. A. Sloane_

%E Offset changed by _Andrew Howroyd_, Jul 10 2024