Suppose $N$ is a positive integer, we wish to find if there are finite or infinite many $N$ satisfying: $$ N! + 1 = k^2 $$ where $k$ is a positive integer.
In other words, $N! + 1$ is a perfect square.
We can find that $N = 4, 5, 7$ satisfied this by \begin{aligned} &4! + 1 = 25 = 5^2 \\ &5! + 1 = 121 = 11^2 \\ &7! + 1 = 5041 = 71^2 \end{aligned}
I have tried using computer to test $N$ up to $30000$ and still not find the next one. I would like to know if there are mathematical approach to show that, there does not exist the next $N$ satisfying $N! + 1$ is a perfect square. Thank you.