prove that the following collection of subsets of $R$ is topology: topology consists of $R$, $\emptyset$ and every interval $[n,\infty]$, where $n$ is a positive integer.
This is the exercise from the e-book "Topology without tears". I think this exercise is wrong since there is a union of these intervals which is equal $(\inf(a+$1/n$),\infty)$. The $\inf$ does not belong to the set of intervals like [-n,n].
I'm I wrong?
The point is that $n$ can only be a positive integer, according to the exercise.
Intersections of two such sets are of the same form: $[n_1,\infty) \cap [n_2, \infty) = [\max(n_1,n_2), \infty)$ and by induction the collection is then closed under finite intersections too.
If $O_i, i \in I$ is a collection of open sets, if some $O_i= \mathbb{R}$ the union is $\mathbb{R} \in \mathcal{T}$, so we assume no $O_i = \mathbb{R}$. If $O_i = \emptyset$ we can omit it, as it has no effect on the union. So we can assume all $O_i = [n_i, \infty)$ where $n_i \in \mathbb{N}^+$. Any non-empty subset of the natural numbers has a minimum, so say $n_{i_0} = \min \{n_i: i \in I\}$ and note that $\cup_i O_i = [n_{i_0}, \infty) \in \mathcal{T}$. So $\mathcal{T}$ is closed under all unions.