A061678 Continued fraction for Sum_{n>=0} 1/3^(3^n).
0, 2, 1, 2, 3, 26, 1, 2, 2, 1, 2, 19682, 1, 1, 1, 2, 2, 1, 26, 3, 2, 1, 2, 7625597484986, 1, 1, 1, 2, 3, 26, 1, 2, 2, 1, 1, 1, 19682, 2, 1, 2, 2, 1, 26, 3, 2, 1, 2, 443426488243037769948249630619149892802, 1, 1, 1, 2, 3, 26, 1, 2, 2, 1, 2, 19682
Offset: 0
Examples
0.370421175633926798495743189411...
Links
- Harry J. Smith, Table of n, a(n) for n = 0..382
- Jeffrey O. Shallit, Simple Continued Fractions for Some Irrational Numbers II, J. Number Theory 14 (1982), 228-231.
Programs
-
Mathematica
ContinuedFraction[Sum[1/3^(3^i), {i, 0, 5}]] (* Michael De Vlieger, Jul 01 2018 *)
-
PARI
{ allocatemem(932245000); default(realprecision, 8000); x=contfrac(suminf(n=0, 1/3^(3^n))); for (n=0, 382, write("b061678.txt", n, " ", x[n+1])) } \\ Harry J. Smith, Jul 26 2009
Comments