[go: up one dir, main page]

login
A016730
Continued fraction for log(2).
10
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
OFFSET
0,3
COMMENTS
Continued fraction for 1/log(2) is the same but without the initial zero.
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-1, " ", 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
KEYWORD
nonn,cofr
EXTENSIONS
Offset changed by Andrew Howroyd, Jul 10 2024
STATUS
approved