OFFSET
1,2
EXAMPLE
a(1): simple continued fraction (SCF) for 2 = 2 (1 term);
a(2): SCF for 2.7 = 2+1/(1+1/(2+1/3)) (4 terms);
a(3): SCF for 2.71 = 2+1/(1+1/(2+1/(2+1/(4+1/3)))) (6 terms).
MAPLE
Digits := 120 ;
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
CROSSREFS
KEYWORD
nonn,base,less
AUTHOR
Umut Uludag, Jan 11 2011
STATUS
approved