I know $\mathbb{Z}\subset \mathbb{R}$ is not compact for the standard topology on $\mathbb{R}$. [In $\mathbb{R}$, compact=closed and bounded, and $\mathbb{Z}$ is not bounded]
How about the topology for the infinitude of primes? i.e., topology generated by $s(a,b) = \{a+nb|n\in \mathbb{Z}\}$.
First I know $B= \{ s(a,b)|a,b \in \mathbb{Z}\}$ is a basis for $\mathbb{Z}$ and furthere $s(a,b)$ is both open and closed [$\because s(a,b) = \mathbb{Z} \setminus \cup_{j=1}^{a-1} s(a,b+j)$].
Note that $s(0,1) = \mathbb{Z}$, so if we consider $s(a,b)$ as an open set of $\mathbb{Z}$, then it seems for me $\mathbb{Z}$ is compact[because it can cover by one open set $s(0,1)$] in this topology, but I am not sure whether my approach is valid or not.
Is my approach correct? or is there any other approach to see whether $\mathbb{Z}$ is compact in this topology?