A347009 a(n) is the largest integer m such that e^-m > e - Sum_{k=0..n} 1/k!.
-1, 0, 1, 2, 4, 6, 8, 10, 12, 15, 17, 19, 22, 25, 27, 30, 33, 36, 39, 42, 45, 48, 51, 54, 57, 61, 64, 67, 71, 74, 78, 81, 85, 88, 92, 95, 99, 102, 106, 110, 114, 117, 121, 125, 129, 132, 136, 140, 144, 148, 152, 156, 160, 164, 168, 172, 176, 180, 184, 188, 192
Offset: 0
Keywords
Crossrefs
Cf. A001113.
Programs
-
Mathematica
Floor[Log[N[(1/(E - Sum[1/n!, {n, 0, #}] & /@ Range[50])), 2]]]
Extensions
More terms from Jon E. Schoenfield, Aug 11 2021
Comments