login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A058299 Sum of terms in simple continued fraction for Sum_{k=0..n} 1/k!. 2

%I #17 Aug 29 2018 06:31:31

%S 1,2,4,5,10,15,20,16,38,30,67,49,63,80,92,139,173,99,127,159,190,198,

%T 423,198,259,221,326,631,394,273,280,341,359,397,539,418,518,533,662,

%U 3502,735,815,701,706,611,839,793,768,781,983,858,1035,883,3476,1154

%N Sum of terms in simple continued fraction for Sum_{k=0..n} 1/k!.

%H Robert Israel, <a href="/A058299/b058299.txt">Table of n, a(n) for n = 0..3300</a>

%e a(3) = 2 + 1 + 2 = 5 because 1/0! + 1/1! + 1/2! + 1/3! = 8/3 = 2 + 1/(1 + 1/2).

%p seq(convert(numtheory:-cfrac(add(1/k!,k=0..n),quotients),`+`), n=0..100); # _Robert Israel_, Aug 29 2018

%o (PARI) a(n) = vecsum(contfrac(sum(k=0, n, 1/k!))); \\ _Michel Marcus_, Aug 29 2018

%Y Cf. A069880 (number of summands).

%K easy,nonn,look

%O 0,2

%A _Leroy Quet_, Dec 07 2000

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 28 11:47 EDT 2024. Contains 373785 sequences. (Running on oeis4.)