OFFSET
0,1
LINKS
Eric Weisstein's World of Mathematics, Alternating Series.
FORMULA
Equals Sum_{k>=1} f(2*k) - f(2*k-1), where f(k) = (1 + 1/k)^k. - Amiram Eldar, Nov 19 2020
EXAMPLE
0.44562240319683333408852796749015199821221222217046014366347362057...
MAPLE
evalf(Sum(-(-1)^n*(exp(1) - (1 + n^(-1))^n), n=1..infinity), 120); # Vaclav Kotesovec, Mar 01 2016
MATHEMATICA
RealDigits[ Chop[ NSum[ -(-1)^n*(E - (1 + n^(-1))^n), {n, Infinity}, NSumTerms -> 2^8, NSumExtraTerms -> 2^6, WorkingPrecision -> 2^8]]][[1]] (* Robert G. Wilson v, Jan 05 2006 *)
PROG
(PARI) sumalt(n=1, -(-1)^n*(exp(1) - (1 + n^(-1))^n)) \\ Michel Marcus, Nov 19 2020
CROSSREFS
KEYWORD
nonn,cons
AUTHOR
Eric W. Weisstein, Jan 03 2006
STATUS
approved