Prove $(n-1)! + 1 = n^2$ has only one integer solution, namely $5$.
I think that we can use the derivate of the gamma function to say that the LHS is growing more than the RHS from $n=5$ onwards, so it can not have solutions bigger than $5$. But computing the value of $\Gamma'(x) = \int_{0}^{\infty} e^{-t} \, t^{x-1} \, \ln(t) \, dt$ and proving this is strictly bigger than $2n$ is where I get stuck.