login
Continued fraction for log(12).
3

%I #22 Jul 10 2024 23:58:07

%S 2,2,16,15,1,2,1,1,1,16,1,12,1,2,1,6,1,6,4,3,1,4,10,3,1,1,28,1,1,1,1,

%T 2,4,3,1,2,1,1,25,3,1,44,1,3,1,25,1,17,7,15,7,15,1,3,1,2,1,1,2,7,1,1,

%U 1,4,1,16,1,4,6,1,1,1,1,12,4,7,14,11,1,1,1,2

%N Continued fraction for log(12).

%H Harry J. Smith, <a href="/A016740/b016740.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.4849066497880003102297094... = 2 + 1/(2 + 1/(16 + 1/(15 + 1/(1 + ...)))). - _Harry J. Smith_, May 16 2009

%t ContinuedFraction[Log[12], 100] (* _G. C. Greubel_, Sep 15 2018 *)

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

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

%Y Cf. A016635 (decimal expansion).

%K nonn,cofr

%O 0,1

%A _N. J. A. Sloane_

%E Offset changed by _Andrew Howroyd_, Jul 10 2024