login
Continued fraction expansion of A104691: ePi, digits of e and Pi interleaved.
0

%I #8 Mar 21 2017 13:34:23

%S 2,2,1,2,3,1,2,7,5,1,2,1,15,19,1,3,4,2,1,16,1,1,10,3,9,1,1,4,9,2,1,3,

%T 2,4,7,1,2,23,1,14,1,1,5,1,13,1,2,42,1,1,1,1,3,6,15,1,1,2,1,7,2,2,1,6,

%U 864,1,19,2,1,18,1,1,1,2,88,2,4,1,1,4,1

%N Continued fraction expansion of A104691: ePi, digits of e and Pi interleaved.

%C Continued fraction expansion of A104691, as A058382 is the continued fraction expansion of A001355 ("Pie"). Added mainly for completeness, mathematical interest is questionable.

%H <a href="/index/Ph#Pi314">OEIS index to sequences related to Pi</a>.

%o (PARI) contfrac(eval(Strchr(vector(#(c=apply(c->Vecsmall(Str(c)),[exp(1),Pi]))[1],i,c[i%2+1][i\2+(i!=3)])))-1)

%Y Cf. A104691, A058382, A001355.

%K nonn,cofr

%O 0,1

%A _M. F. Hasler_, Mar 21 2017