I'm struggling with the following sum:
$$\sum_{n=0}^\infty \frac{n!}{(2n)!}$$
I know that the final result will use the error function, but will not use any other non-elementary functions. I'm fairly sure that it doesn't telescope, and I'm not even sure how to get $\operatorname {erf}$ out of that.
Can somebody please give me a hint? No full answers, please.
One might note that:
$$\frac{n!}{(2n)!}=\frac{\sqrt\pi}{4^n\Gamma(n+1/2)}$$
Indeed, this makes your series a special case of the following function:
$$f_\alpha(x)=\sum_{n=0}^\infty\frac{x^n}{\Gamma(n+\alpha)}$$
With $S=\sqrt\pi f_{1/2}(1/4)$.
Wonderfully, this problem serves as a good introduction for fractional derivatives. Let us define here the following:
$$\frac{\mathrm d^\alpha}{\mathrm dx^\alpha}f(x)=\frac1{\Gamma(1-\{\alpha\})}\frac{\mathrm d^{\lceil\alpha\rceil}}{\mathrm dx^{\lceil\alpha\rceil}}\int_0^x(x-t)^{-\{\alpha\}}f(t)~\mathrm dt$$
where $\lceil\alpha\rceil$ is the ceiling function and $\{\alpha\}=\alpha-\lfloor\alpha\rfloor$ is the fractional part of $\alpha$. From the above definition, one can deduce that
$$\frac{\mathrm d^\alpha}{\mathrm dx^\alpha}x^\beta=\frac{x^{\beta-\alpha}\Gamma(\beta+1)}{\Gamma(\beta-\alpha+1)}$$
From this, one may deduce that
$$\frac{x^n}{\Gamma(n+\alpha)}=x^{1-\alpha}\frac{\mathrm d^{1-\alpha}}{\mathrm dx^{1-\alpha}}\frac{x^n}{n!}$$
Thus, we find that
$$f_\alpha(x)=x^{1-\alpha}\frac{\mathrm d^{1-\alpha}}{\mathrm dx^{1-\alpha}}e^x$$
In the particular case of $\alpha=1/2$,
$$\frac{\mathrm d^{1/2}}{\mathrm dx^{1/2}}e^x=\frac1{\Gamma(1/2)}\int_0^x(x-t)^{-1/2}e^t~\mathrm dt$$
Let $x-t=u^2$ to get
$$\frac{\mathrm d^{1/2}}{\mathrm dx^{1/2}}e^x=\frac1{\Gamma(3/2)}\int_0^{\sqrt x}u^2e^{x-u^2}~\mathrm du$$
Whereupon the relationship to the error function is immediate.
The general case for $f_\alpha(x)$ is left as extra credit for the reader with the additional hint that incomplete Gamma functions are recommended.