Improper integral of
$$\int_0^\infty x^ne^{-x/a} \, dx$$
I tried to do it by using Partial Integral and looked for the trend of $a$ and $n$ but it's confusing and I cannot finish it
Is there any other method to solve this? (I think of the Laplace Transform, but cannot find any relation)
\begin{align} \int_0^{\infty} x^n e^{-\frac{x}{a}}\,dx &\overset{u=x/a}{=} \int_0^{\infty} (au)^ne^{-u}\,(a\,du)\\ &= a^{n+1}\int_0^{\infty}u^{(n+1)-1}e^{-u}\,du \\ &= a^{n+1}\Gamma(n+1) = a^{n+1}n! \end{align} if $n$ is an integer.