I have seen Proving $\displaystyle\limsup_{n\to\infty}\cos{n}=1$ using $\{a+b\pi|a,b\in\mathbb{Z}\}$ is dense and got this question. Hagen von Eitzen gave the solution as following:
Pick an integer $n$. By density of $\Bbb Z+\pi\Bbb Z$, there exist $a_n,b_n\in\Bbb Z$ with $\frac 1{n+1}<a_n+b_n\pi<\frac1 n$. If $a_m=a_n$, then $|b_n\pi-b_m\pi|<1$, which implies $b_n=b_m$ and ultimately $n=m$. We conclude that $|a_n|\to \infty$. As $$\cos|2a_n|=\cos 2a_n=\cos(2a_n+2\pi b_n)>\cos\frac 2n\to 1, $$ the desired result follows.
I was wondering why $|a_n|\to \infty.$ Could someone give more details about it? –Moreover, is $|a_n|$ increasing to $\infty?$
Hagen von Eitzen shows that $a_m=a_n$ implies $m=n$, so the integers $a_1,a_2,a_3,...\;$are distinct.
Hence for any fixed positive integer $N$, we must have $|a_n| \ge N$ for all but at most $2N-1$ values of $n$.
It follows that $|a_n|$ approaches infinity as $n$ approaches infinity.
However it's not automatic that the sequence $(|a_n|)$ is an increasing sequence.