I'm studying the factorial function and I have found the following identity :
$$\frac{\partial^2 x!}{\partial x^2}=-2\gamma+\gamma^2+\frac{\pi^2}{6}$$ At $x=1$
But the Basel problem says : $$\zeta(2)=\sum_{k=1}^\infty \frac{1}{k^2}=\frac{\pi^2}{6}.$$
And $\gamma$ constant is related to Harmonic series .
My question is how to explain these links ?
Thanks a lot for your time .