For those unfamiliar, a question explaining the definition is in the question here. The definition itself is
$$\lim_{m\to\infty}\lim_{n\to\infty}\cos^{2n}\left(m!\pi x\right)$$ and evaluates to 1 for rational $x$ and 0 for irrational $x$. The part I don't totally understand is why the exponent is $2n$ as opposed to just $n$.
This is a very-not rigorous question, but my concern stems from the fact that as $n\to\infty$, $2n$ isn't necessarily even, let alone an integer, which negates the whole point of making rational values become $1$ instead of $\pm1$. It seems like you could, on the other hand, write it as
$$\lim_{m\to\infty}\lim_{n\to\infty}\left(\cos^{2}\left(m!\pi x\right)\right)^n$$ although I'm not entirely sure if this is the same expression.
My other question is that if the first equation is 'right', it seems to like it logically follows that
$$\lim_{n\to\infty}(-1)^{2n}=1$$ as well. Is this true?