If $1!+2!+\dots+x!$ is a perfect square, then the number of possible values of $x$ is?
I looked for a general way of expanding such a factorial series but I was not able to find one, without that I don't know any other way to approach this problem.
All help is appreciated.
Hint:
Let $$a_n = \sum_{j=1}^nj!$$
Knowing that for $j\ge 5$, the term $j!$ will end with $0$, since the product will contain both $2$ and $5$ it should be straighfroward for you to show that $$a_n = 33 + \sum_{j=5}^n j!$$
This sum therefore ends with digit $3$.
Big Hint