$\mathcal{B}:=\{a+b\mathbb{Z}:a\in \mathbb{Z}, b\in \mathbb{N}\}$
I already showed that $\mathcal B$ is a basis of a topology on $\mathbb Z$. How can I show that every set in $\mathcal B$ is closed w.r.t. that topology?
For this I want to show that their complements are open which means they can be written as unions of elements of $\mathcal B$.
Buw how do I do this? What's $(a+b \mathbb Z)^c$ and how can I write it as such a union of elements of $\mathcal B$?
(I know that $a + b\mathbb Z=x +b\mathbb Z \ \forall x \in a+b \mathbb Z$ if that helps)
Just to make clear what $a+b\mathbb{Z}$ means: \begin{align} 3 + 5\mathbb{Z} &= \{\ldots,3-5\times 2,3-5\times 1,3,3+5\times 1,3+5\times 2,\ldots\} \\ &= \{\ldots,-7,-2,3,8,13,\ldots\}. \end{align} Therefore the complement of $a+b\mathbb{Z}$ is equal to \begin{align} (a+b\mathbb{Z})^c = (a+1)+b\mathbb{Z} \cup (a+2)+b\mathbb{Z} \cup \cdots \cup(a+b-1)+b\mathbb{Z}. \end{align}