If $x \in \mathbb{Q}$ then what will be the value of $\lim_{m \to \infty} \lim_{n \to \infty}(1+\cos^{2m}(n!\pi x))$ ?
Approach: Well the expression $\cos^{2m}(n!\pi x)$ would basically mean $(\pm1)^{\infty}$ which is not defined. Then it is possible to calculate this limit somehow?
The answer was given as 2.