How can I evaluate this series? I have to evaluate the following sum:
$$\sum_{n=0}^{\infty} \frac{n^{2}-5n+2}{n!}$$
Could you recommend some guide for solving this?  I have not found any information that I could use for this type of exercise.

Let us make the problem more general considering $$F(x)=\sum_{n=0}^{\infty} \frac{an^{2}+bn+c}{n!}x^n$$ First, write $$an^2+bn+c=a(n(n-1)+n)+bn+c=an(n-1)+(a+b)n+c$$ $$F(x)=a\sum_{n=0}^{\infty} \frac{n(n-1)}{n!}x^n+(a+b)\sum_{n=0}^{\infty} \frac{n}{n!}x^n+c\sum_{n=0}^{\infty} \frac{x^n}{n!}$$ $$F(x)=ax^2\sum_{n=0}^{\infty} \frac{n(n-1)}{n!}x^{n-2}+(a+b)x\sum_{n=0}^{\infty} \frac{n}{n!}x^{n-1}+c\sum_{n=0}^{\infty} \frac{x^n}{n!}$$ $$F(x)=ax^2\left(\sum_{n=0}^{\infty} \frac{x^n}{n!}\right)''+(a+b)x\left(\sum_{n=0}^{\infty} \frac{x^n}{n!}\right)'+c \left(\sum_{n=0}^{\infty} \frac{x^n}{n!}\right)$$ $$F(x)=ax^2e^x+(a+b)xe^x+c e^x$$ $$F(1)=(2a+b+c)\,e$$
If you had faced the problem of $$G(x)=\sum_{n=0}^{\infty} \frac{an^{3}+bn^2+cn+d}{n!}x^n$$ writing $n^3=n(n-1)(n-2)+3n(n-1)+n$ and applying the same approach, you would obtain $$G(1)= (5 a+2 b+c+d)\,e$$ and so on.
