I have seen What is $\limsup\limits_{n\to\infty} \cos (n)$, when $n$ is a natural number? and got this question. How can I proceed to prove $\displaystyle\limsup_{n\to\infty}\cos{n}=1$ If you know that $\{a+b\pi|a,b\in\mathbb{Z}\}$ is dense in $\mathbb{R}$?
My idea:
If we could prove that $\sup\{\cos{k}|k\geq n\}=1$ for any $n$, then we are done. So I tried to prove this.
Fix $n$.
For any $\delta>0$, there exists some $a,b\in \mathbb{Z}$ such that $-\frac{\delta}{2}-\frac{n}{2}<a+b\pi<\frac{\delta}{2}-\frac{n}{2}$ by density. This means that $|2a+n+2b\pi|<\delta$.
then by the continuity of $\cos{x}$, we have that $\forall \epsilon>0,\exists a\in\mathbb{Z}, |\cos{(2a+n)}-1|<\epsilon,$ which means that $1-\epsilon<\cos{(2a+n)}$. If $a\geq 0$ then we might have $\sup\{\cos{k}|k\geq n\}=1$ but it is possible that $a<0$. So this approach is not good.
I tried using $-\frac{\delta}{2}+\frac{n}{2}<a+b\pi<\frac{\delta}{2}-\frac{n}{2}$ But this only makes sense when $n<\delta$. Now I am lost.