A016733 Continued fraction for log(5).
1, 1, 1, 1, 1, 3, 1, 1, 1, 3, 4, 6, 94, 1, 3, 4, 40, 1, 5, 2, 2, 1, 1, 7, 7, 8, 39, 4, 3, 4, 1, 9, 1, 1, 2, 1, 7, 1, 6, 2, 18, 1, 1, 1, 12, 1, 1, 3, 1, 1, 4, 16, 16, 3, 3, 2, 1, 17, 1, 8, 1, 20, 1, 15, 15, 10, 2, 13, 1, 1, 34, 1, 32, 25
Offset: 0
Examples
1.609437912434100374600759333... = 1 + 1/(1 + 1/(1 + 1/(1 + 1/(1 + ...)))). - _Harry J. Smith_, May 16 2009
Links
- Harry J. Smith, Table of n, a(n) for n = 0..19999 (offset adapted by _Georg Fischer_, Jan 31 2019)
- G. Xiao, Contfrac
Crossrefs
Cf. A016628 (decimal expansion). - Harry J. Smith, May 16 2009
Programs
-
Magma
ContinuedFraction(Log(5)); // G. C. Greubel, Sep 15 2018
-
Mathematica
ContinuedFraction[Log[5],100] (* Harvey P. Dale, Apr 02 2015 *)
-
PARI
{ default(realprecision, 21000); x=contfrac(log(5)); for (n=1, 20000, write("b016733.txt", n - 1, " ", x[n])); } \\ Harry J. Smith, May 16 2009