I need help to evaluate series :$$S(x)=\sum^{\infty}_{n=0} \frac{(n+1)^{n-1}}{n!}(xe^{-x})^n$$ My attempt was to find an integral equal to $\frac{(n+1)^{n-1}}{n!}$ But I couldn't find it
This is what I found but I don't know if it might help solve this problem
$$\int^{\infty}_0 x^{n}e^{-nx} dx =\frac{n!}{n^{n+1}} $$
