OFFSET
0,2
LINKS
Robert Israel, Table of n, a(n) for n = 0..3300
EXAMPLE
a(3) = 2 + 1 + 2 = 5 because 1/0! + 1/1! + 1/2! + 1/3! = 8/3 = 2 + 1/(1 + 1/2).
MAPLE
seq(convert(numtheory:-cfrac(add(1/k!, k=0..n), quotients), `+`), n=0..100); # Robert Israel, Aug 29 2018
PROG
(PARI) a(n) = vecsum(contfrac(sum(k=0, n, 1/k!))); \\ Michel Marcus, Aug 29 2018
CROSSREFS
KEYWORD
AUTHOR
Leroy Quet, Dec 07 2000
STATUS
approved