%I #18 Sep 08 2022 08:44:41
%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
%N Continued fraction for log(12).
%H Harry J. Smith, <a href="/A016740/b016740.txt">Table of n, a(n) for n = 1..20000</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, " ", x[n])); } \\ _Harry J. Smith_, May 16 2009
%o (Magma) ContinuedFraction(Log(12)); // _G. C. Greubel_, Sep 15 2018
%Y Cf. A016635 Decimal expansion. - _Harry J. Smith_, May 16 2009
%K nonn,cofr
%O 1,1
%A _N. J. A. Sloane_
|