A well-known Euler's series representing Euler-Mascheroni's constant
$$ \sum_{n = 1}^{\infty}\left[{1 \over n} - \ln\left(n + 1 \over n\right)\right] = \gamma\label{1}\tag{1} $$
The generalisation of \eqref{1} is:
$$ \sum_{n = 1}^{\infty}\left[{x \over n} - \ln\left(n + x\over n\right)\right] = x\gamma +\ln\left(x!\right) \label{2}\tag{2} $$
I have no idea how shows it; it was base on a guess and some numerical trial we conjecture \eqref{2}. How can we prove \eqref{2} ?.
We use the relationship between the Harmonic numbers and the digamma function:
$$\psi(x+1)+\gamma=H_x=\sum_{n=1}^\infty\frac1n-\frac1{n+x}$$
Take the integral of both sides from $0$ to $x$ and you will find that
$$\ln(x!)+\gamma x=\ln(\Gamma(x+1))+\gamma x=\sum_{n=1}^\infty\frac xn-\ln(n+x)+\ln(n)$$