The MacLaurin series of $e^{\frac{x^2}{2}}$ Could someone please explain to me how you derive the MacLaurin series for $e^{ \frac{x^2}{2}}$?
I understand how it is derived from the MacLaurin series for $e^x$ where it is 
$e^x = 1 + x + \frac{x^2}{2!} + \frac{x^3}{3!} + ... = \sum_{n=1}^\infty\frac{x^{2n}}{2^nn!}$
and you just substitute $\frac{x^2}{2}$ for $x$ but when I try to do it using differentiation I get 
$e^{\frac{x^2}{2}} = 1 + \frac{x^2}{2!} + \frac{x^4}{3!} + ... = \sum_{n=1}^\infty\frac{x^2n}{n!}$ which is not the correct answer.
Any help/comments would be appreciated.

$$e^x=\sum^\infty_{k=0}\dfrac{x^k}{k!}\\
\implies e^{x^2/2}=\sum^\infty_{k=0}\dfrac{(x^2/2)^{2}}{k!}=\sum^\infty_{k=0}\dfrac{x^{2k}}{2^kk!}$$
Differentiate:
$$e^{x^2/2}|_{x=0}=1\\
e^{x^2/2}x|_{x=0}=0\\
(e^{x^2/2}+x^2e^{x^2/2})|_{x=0}=1$$
E.t.c. Every differential $\dfrac{d^{2n}}{dx^{2n}}e^{x^2/2}=1$, and every differential $\dfrac{d^{2n+1}}{dx^{2n+1}}e^{x^2/2}=0$. Thus,
$$e^{x^2/2}=\sum^\infty_{k=0}\dfrac{f^{(k)}(0)}{k!}(x)^k=\sum^\infty_{k=0}\dfrac{x^{2k}}{2^kk!}$$
Both are the same.
