%I #15 Mar 22 2024 06:19:25
%S 3,2,3,3,2,13,1,5,3,1,32,1,6,2,2,1,24,2,5,1,6,1,16,1,1,13,14,2,1,5,4,
%T 4,1,3,5,4,19,1,16,1,2,5,2,3,1,7,1,1,1,91,26,1,16,1,13,1,6,29,2,17,1,
%U 8,2,28,1,7,6,5,1,1,1,15,1,1
%N Continued fraction for log(31).
%H Harry J. Smith, <a href="/A016459/b016459.txt">Table of n, a(n) for n = 1..20000</a>
%e 3.433987204485146245929164324... = 3 + 1/(2 + 1/(3 + 1/(3 + 1/(2 + ...)))). - _Harry J. Smith_, May 20 2009
%t ContinuedFraction[Log[31], 100] (* _Paolo Xausa_, Mar 22 2024 *)
%o (PARI) { allocatemem(932245000); default(realprecision, 21000); x=contfrac(log(31)); for (n=1, 20000, write("b016459.txt", n, " ", x[n])); } \\ _Harry J. Smith_, May 20 2009
%Y Cf. A016654 Decimal expansion. - _Harry J. Smith_, May 20 2009
%K nonn,cofr
%O 1,1
%A _N. J. A. Sloane_
|