A028232 Continued fraction expansion for log_2(10).
3, 3, 9, 2, 2, 4, 6, 2, 1, 1, 3, 1, 18, 1, 6, 1, 2, 1, 1, 4, 1, 42, 6, 1, 4, 2, 3, 1, 2, 6, 1, 3, 4, 1, 8, 1, 4, 1, 2, 2, 7, 1, 4, 1, 1, 3, 3, 1, 3, 1, 1, 7, 6, 1, 5, 10, 2, 2, 1, 8, 1, 2, 16, 24, 1, 6, 1, 8, 1, 1, 5, 1, 1, 1, 1, 1, 2, 1, 1
Offset: 1
Examples
0.3010299956... = 0 + 1/(3 + 1/(3 + 1/(9 + 1/(2 + ...)))).
Links
- Harry J. Smith, Table of n, a(n) for n = 1..20000
Programs
-
Mathematica
ContinuedFraction[Log[2,10],80] (* Harvey P. Dale, Apr 17 2012 *)
-
PARI
{ allocatemem(932245000); default(realprecision, 21000); x=contfrac(log(2)/log(10)); for (n=1, 20000, write("b028232.txt", n, " ", x[n+1])); } \\ Harry J. Smith, Apr 15 2009
Extensions
Added an allocatemem statement to my PARI program. - Harry J. Smith, Apr 18 2009