Consider $\mathbb{Z}$ equipped with a topology generated by the basis of the form $(-k,k)$, is a finite set, say (-3,3), compact? Is $\mathbb{Z}$ compact?
I think a finite set is compact since you can just find a finite (in fact singleton) subcover, that is the interval that includes all the points in the finite set. For the second part, $\mathbb{Z}$ is not for the same reason that it is not compact in the standard topology.
Can someone please check if what I am thinking is correct? Thanks