

A016730


Continued fraction for log(2).


11



0, 1, 2, 3, 1, 6, 3, 1, 1, 2, 1, 1, 1, 1, 3, 10, 1, 1, 1, 2, 1, 1, 1, 1, 3, 2, 3, 1, 13, 7, 4, 1, 1, 1, 7, 2, 4, 1, 1, 2, 5, 14, 1, 10, 1, 4, 2, 18, 3, 1, 4, 1, 6, 2, 7, 3, 3, 1, 13, 3, 1, 4, 4, 1, 3, 1, 1, 1, 1, 2, 17, 3, 1, 2, 32, 1, 1, 1
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,3


COMMENTS

Continued fraction for 1/log(2) is the same but without the initial zero.


LINKS

Harry J. Smith, Table of n, a(n) for n = 1..20000
G. Xiao, Contfrac
Eric Weisstein's World of Mathematics, Natural Logarithm of 2
Index entries for continued fractions for constants


EXAMPLE

log(2) = 0.6931471805599453094... = 0 + 1/(1 + 1/(2 + 1/(3 + 1/(1 + ...)))).  Harry J. Smith, Apr 21 2009


MATHEMATICA

ContinuedFraction[Log[2], 80] (* Alonso del Arte, Oct 03 2017 *)


PROG

(PARI) { allocatemem(932245000); default(realprecision, 21000); x=contfrac(log(2)); for (n=1, 20000, write("b016730.txt", n, " ", x[n])); } \\ Harry J. Smith, Apr 21 2009
(MAGMA) ContinuedFraction(Log(2)); // G. C. Greubel, Sep 15 2018


CROSSREFS

Cf. A120754, A120755, A002162 (decimal expansion).
Sequence in context: A165742 A162984 A166295 * A319192 A114576 A198724
Adjacent sequences: A016727 A016728 A016729 * A016731 A016732 A016733


KEYWORD

nonn,cofr


AUTHOR

N. J. A. Sloane


STATUS

approved



