A016448 Continued fraction for log(20).
2, 1, 233, 3, 6, 2, 1, 1, 2, 2, 2, 4, 8, 2, 2, 1, 27, 1, 6, 6, 2, 1, 4, 3, 1, 1, 1, 33, 2, 1, 2, 1, 1, 1, 3, 5, 3, 1, 3, 2, 2, 3, 7, 1, 2, 1, 4, 1, 5, 1, 2, 3, 4, 11, 2, 8, 2, 3, 5, 3, 1, 2, 1, 1, 2, 1, 5, 9, 1, 6, 7, 1, 6, 1, 3, 1, 47, 3, 1
Offset: 1
Examples
2.9957322735539909934352235... = 2 + 1/(1 + 1/(233 + 1/(3 + 1/(6 + ...)))). - _Harry J. Smith_, May 17 2009
Links
- Harry J. Smith, Table of n, a(n) for n = 1..20000
Crossrefs
Cf. A016643 Decimal expansion. - Harry J. Smith, May 17 2009
Programs
-
Mathematica
ContinuedFraction[Log[20], 100] (* Paolo Xausa, Mar 22 2024 *)
-
PARI
{ allocatemem(932245000); default(realprecision, 21000); x=contfrac(log(20)); for (n=1, 20000, write("b016448.txt", n, " ", x[n])); } \\ Harry J. Smith, May 17 2009