login
Continued fraction for log(31/2).
2

%I #15 Apr 02 2024 07:24:59

%S 2,1,2,1,6,13,1,2,67,4,1,1,2,2,1,3,4,1,11,2,1,2,2,1,3,18,4,4,1,1,1,1,

%T 4,7,1,3,2,1,1,1,3,2,1,1,3,1,3,1,1,1,2,8,30,108,1,1,1,4,2,8,903,3,1,2,

%U 2,8,1,1,1,5,3,1,1,1,3,126,1

%N Continued fraction for log(31/2).

%H Harry J. Smith, <a href="/A016543/b016543.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.740840023925200936511932203... = 2 + 1/(1 + 1/(2 + 1/(1 + 1/(6 + ...)))). - _Harry J. Smith_, May 27 2009

%t ContinuedFraction[Log[31/2], 100] (* _Paolo Xausa_, Apr 02 2024 *)

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

%Y Cf. A016592 (decimal expansion).

%K nonn,cofr

%O 1,1

%A _N. J. A. Sloane_