A016737 Continued fraction for log(9).
2, 5, 14, 4, 1, 2, 2, 8, 1, 15, 1, 2, 1, 8, 2, 7, 1, 3, 3, 1, 1, 1, 2, 17, 1, 4, 2, 1, 2, 6, 1, 2, 2, 5, 1, 1, 2, 2, 1, 1, 1, 27, 3, 3, 4, 1, 1, 306, 2, 1, 1, 2, 3, 1, 1, 4, 5, 1, 1, 38, 1, 4, 1, 6, 1, 11, 10, 1, 9, 10, 2, 5, 2, 1, 3, 8, 1, 2, 3, 6, 1, 4, 2, 3
Offset: 0
Examples
2.19722457733621938279049047... = 2 + 1/(5 + 1/(14 + 1/(4 + 1/(1 + ...)))). - _Harry J. Smith_, May 16 2009
Links
- Harry J. Smith, Table of n, a(n) for n = 0..19999
- G. Xiao, Contfrac
Crossrefs
Cf. A016632 (decimal expansion).
Programs
-
Magma
ContinuedFraction(2*Log(3)); // G. C. Greubel, Sep 15 2018
-
Mathematica
ContinuedFraction[Log[9],120] (* Harvey P. Dale, May 21 2017 *)
-
PARI
{ allocatemem(932245000); default(realprecision, 21000); x=contfrac(log(9)); for (n=1, 20000, write("b016737.txt", n-1, " ", x[n])); } \\ Harry J. Smith, May 16 2009
Extensions
Offset changed by Andrew Howroyd, Jul 10 2024