In a question to find limit of $\cos^2 (\pi n!) $ as $n$ tends to infinity. (Sorry for not using MathJax, typing on a phone)
It is assumed that factorial is only defined for positive integers and not using the real number extension gamma function.
I believe it should not be defined (since $n!$ is discontinuous) but answer given is $1$, based on the fact that it is always cosine of an integral multiple of $\pi$.
So is it valid to say that since in its domain, the function always has value $1$, its limit is $1$, not taking into account the neighborhood limit existence condition?