I would like to find all positive integers $n$ and $m$ such that $n^2 \equiv m! \ ( \text{mod } 2024)$. I see that for $m=1$ there is $n=45$ such that the relation holds.
I think that there is no other solutions. I would like to prove that. I know that $2024=2^3 \cdot 11 \cdot 23$. Hence, I cold investigate $n^2 \equiv m! \ ( \text{mod } 8)$, $n^2 \equiv m! \ ( \text{mod } 11)$, and $n^2 \equiv m! \ ( \text{mod } 23)$. Common quadratic residue of $8, 11$, and $23$ are $0,1,4$. Since $m$ must be positive, we reject $0$. Next, we have already covered $1$. Finally, there is no integer $m$ such that $m!=4$.
I think that this should prove the statement. Is this the right solution?