Definition. A subset of $\mathbb{R}$ is called open if it is a union of open intervals.
Example. $\mathbb{R} \backslash \mathbb{Z}$ is open.
Proof (is from my lecture notes).$\mathbb{R} \backslash \mathbb{Z}=\cup\left\{ \left( n,n+1\right) :n\in \mathbb{Z}\right\}$.
My question is: why $n$ in $\mathbb{Z}$? I think, $n$ cannot be in $\mathbb{Z}$ because we say $\mathbb{R} \backslash \mathbb{Z}$.