This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A179852 #13 Jan 06 2019 06:00:19 %S A179852 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 A179852 49,54,60,56,60,61,60,60,70,68,77,72,71,82,68,81,78,83,82,82,89,91, %U A179852 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 A179852 Number of terms in the simple continued fraction for (e truncated to n decimal digits). %e A179852 a(1): simple continued fraction (SCF) for 2 = 2 (1 term); %e A179852 a(2): SCF for 2.7 = 2+1/(1+1/(2+1/3)) (4 terms); %e A179852 a(3): SCF for 2.71 = 2+1/(1+1/(2+1/(2+1/(4+1/3)))) (6 terms). %p A179852 Digits := 120 ; %p A179852 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 A179852 Cf. A080235, A080229, A011543. %K A179852 nonn,base,less %O A179852 1,2 %A A179852 _Umut Uludag_, Jan 11 2011