login
Continued fraction for phi*e A094885, where phi = (1 + sqrt(5))/2.
1

%I #11 Sep 08 2022 08:45:44

%S 4,2,1,1,22,1,1,4,5,2,2,1,1,15,1,12,2,2,6,10,6,1,11,3,1,3,33,1,1,1,2,

%T 2,1,4,1,2,3,3,8,1,1,1,1,2,1,3,32,3,1,1,2,2,1,5,10,1,1,1,2,2,1,1,1,4,

%U 2,2,20,2,1,2,1,1,3,1,1,2,5,1,9,1,23,1,291,1,3,2,9,7,1,1,3,10,5,2,1,13,3,7

%N Continued fraction for phi*e A094885, where phi = (1 + sqrt(5))/2.

%H Harry J. Smith, <a href="/A159823/b159823.txt">Table of n, a(n) for n = 0..20000</a>

%e phi*e = 4.398272389447946395... = 4 + 1/(2 + 1/(1 + 1/(1 + 1/(22 + ...)))).

%t ContinuedFraction[E*GoldenRatio, 100] (* _G. C. Greubel_, May 19 2018 *)

%o (PARI) { allocatemem(932245000); default(realprecision, 21000); phi=(1+sqrt(5))/2; x=contfrac(phi*exp(1)); for (n=1, 20001, write("b159823.txt", n-1, " ", x[n])); }

%o (Magma) ContinuedFraction((1+Sqrt(5))*Exp(1)/2) // _G. C. Greubel_, May 19 2018

%K nonn,cofr

%O 0,1

%A _Harry J. Smith_, Apr 27 2009