I am following a course on stochastic processes. One question is to Calculate $$lim_{n\to \infty} \sum^n_{i=0} e^{-n} \frac{n^i}{i!}$$ I see that it looks like the expected value of $e^{-n} \frac{n^{i+1}}{i!}$ but i don't know how to proceed. I tried to use mathematica but i'm not sure this is correct.
Solve[Integrate[E^(-n) n^(i + 1)/Factorial[i], {n, 0, x}] == 1/2 Integrate[ E^(-n) n^(i + 1)/Factorial[i], {n, 0, Infinity}] , x, Reals]
Thanks in advance