Find, with proof, $\lim\limits_{n\to\infty} \sum_{i=0}^n (1-i/n)^n$.
Intuitively the limit should just be $\sum_{i=0}^\infty e^{-i} = \frac{1}{1-e^{-1}}.$ But one needs to justify why one can take the limit of both terms in the sequence. If one strictly works from the definition, then one needs to prove that for all $\epsilon > 0,$ there exists $N$ so that for $n\ge N, |\sum_{i=0}^n (1-i/n)^n - \frac{1}{1-e^{-1}}| < \epsilon.$ First choose $M$ so that $\sum_{i=n}^\infty e^{-i}=\frac{e^{-n}}{1-e^{-1}} < \epsilon/2$ for $n\ge M$. We have $|\sum_{i=0}^n (1-i/n)^n - \frac{1}{1-e^{-1}}| = |\sum_{i=0}^n (1-i/n)^n - \sum_{i=0}^n e^{-i} - \sum_{i>n} e^{-i}|.$ For each $i$, we can choose $n$ so that $|(1-i/n)^n - e^{-i}| < \epsilon/2^i,$ but that's where I'm stuck; we might have to choose infinitely many $n$'s, whereas we need to find a maximum of finitely many $n$'s.