login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A179852 Number of terms in the simple continued fraction for (e truncated to n decimal digits). 1

%I

%S 1,4,6,8,12,13,15,17,23,24,31,23,29,29,34,38,36,42,38,47,44,44,50,48,

%T 49,54,60,56,60,61,60,60,70,68,77,72,71,82,68,81,78,83,82,82,89,91,

%U 102,90,98,99,103,97,90,107,107,112,111,120,109,115,118,112,111,127,128,133,117,117,117,139,136

%N Number of terms in the simple continued fraction for (e truncated to n decimal digits).

%e a(1): simple continued fraction (SCF) for 2 = 2 (1 term);

%e a(2): SCF for 2.7 = 2+1/(1+1/(2+1/3)) (4 terms);

%e a(3): SCF for 2.71 = 2+1/(1+1/(2+1/(2+1/(4+1/3)))) (6 terms).

%p Digits := 120 ;

%p A011543 := proc(n) floor(exp(1)*10^n) ; end proc:A179852 := proc(n) A011543(n-1)/10^(n-1) ; numtheory[cfrac](%) ; op(%) ; nops(%) ; end proc: # _R. J. Mathar_, Jan 14 2011

%Y Cf. A080235, A080229, A011543.

%K nonn,base,less

%O 1,2

%A _Umut Uludag_, Jan 11 2011

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 19 19:18 EST 2019. Contains 329323 sequences. (Running on oeis4.)