sum 1 / k! for k = 0 to n