This question already has an answer here:
Is there any number which is a perfect square of some number as well as factorial of some number?
That is, let x be such a number, then x can be expressed as
x = k^2 (for some k)
and, x = n! (for some n)
The very trivial answer is 1. But is there any number other than 1?