login
Continued fraction for log(42).
2

%I #14 Mar 22 2024 13:01:38

%S 3,1,2,1,4,3,7,3,3,5,2,2,2,1,1,1,2,2,69,4,2,1,2,1,5,14,6,1,1,1,6,1,1,

%T 1,6,10,1,9,2,4,1,23,1,2,1,19,5,37,5,20,21,1,1,2,2,1,1,3,1,6,1,3,9,1,

%U 9,1,2,1,3,1,14,2,4,1,1,2,12

%N Continued fraction for log(42).

%H Harry J. Smith, <a href="/A016470/b016470.txt">Table of n, a(n) for n = 1..20000</a>

%e 3.737669618283368305917830101... = 3 + 1/(1 + 1/(2 + 1/(1 + 1/(4 + ...)))). - _Harry J. Smith_, May 21 2009

%t ContinuedFraction[Log[42], 100] (* _Paolo Xausa_, Mar 22 2024 *)

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

%Y Cf. A016665 Decimal expansion. - _Harry J. Smith_, May 21 2009

%K nonn,cofr

%O 1,1

%A _N. J. A. Sloane_