%I #20 Aug 29 2022 14:45:10
%S 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,
%T 1,1,2,3,26,1,2,2,1,1,1,19682,2,1,2,2,1,26,3,2,1,2,
%U 443426488243037769948249630619149892802,1,1,1,2,3,26,1,2,2,1,2,19682
%N Continued fraction for Sum_{n>=0} 1/3^(3^n).
%C The continued fraction has a "folded" overall structure. Apart from a(0) and from the record values of the form 3^(3^k)-1 (k >= 0), the only terms are 1 and 3. This follows from the theorem in Shallit's paper. - _Georg Fischer_, Aug 29 2022
%H Harry J. Smith, <a href="/A061678/b061678.txt">Table of n, a(n) for n = 0..382</a>
%H Jeffrey O. Shallit, <a href="https://doi.org/10.1016/0022-314X(82)90047-6">Simple Continued Fractions for Some Irrational Numbers II</a>, J. Number Theory 14 (1982), 228-231.
%e 0.370421175633926798495743189411...
%t ContinuedFraction[Sum[1/3^(3^i), {i, 0, 5}]] (* _Michael De Vlieger_, Jul 01 2018 *)
%o (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
%Y Cf. A004200, A006464, A006465, A006466, A006467, A007400, A081771.
%K cofr,nonn
%O 0,2
%A _Jason Earls_, Jun 23 2001
|