%I #22 Jul 10 2024 23:58:38
%S 1,10,7,9,2,2,1,3,1,32,2,17,1,15,1,1,7,3,1,35,1,1,1,2,5,3,2,1,4,2,1,3,
%T 1,5,3,13,1,1,1,6,2,3,1,152,1,2,3,1,7,9,2,1,3,19,2,2,2,3,2,5,1,1,4,1,
%U 19,5,4,2,1,2,7,4,2,1,6,3,2,2,4,1,1,1,4,1
%N Continued fraction for log(3).
%H Harry J. Smith, <a href="/A016731/b016731.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 1.09861228866810969139524523... = 1 + 1/(10 + 1/(7 + 1/(9 + 1/(2 + ...)))). - _Harry J. Smith_, May 16 2009
%t ContinuedFraction[Log[3], 100] (* _G. C. Greubel_, Sep 15 2018 *)
%o (PARI) { allocatemem(932245000); default(realprecision, 21000); x=contfrac(log(3)); for (n=1, 20000, write("b016731.txt", n-1, " ", x[n])); } \\ _Harry J. Smith_, May 16 2009
%o (Magma) ContinuedFraction(Log(3)); // _G. C. Greubel_, Sep 15 2018
%Y Cf. A002391 (decimal expansion).
%K nonn,cofr
%O 0,2
%A _N. J. A. Sloane_
%E Offset changed by _Andrew Howroyd_, Jul 10 2024