Write down the definition of a topology on a set X.
For each of the following families T of subsets of Z, determine whether T is a topology on Z. In the cases where the answer is 'yes', determine also whether (Z,T) is a Hausdorff space and whether it is compact.
(a) T={U⊆Z : either U is finite or 0∈U}.
(b) T={U⊆Z : either Z\U is finite or 0∈/U}.
(c) T={U⊆Z : there exists k>0 such that, for all n,n∈U⇔n+k∈U}.
(d) T={U⊆Z : for all n∈U, there exists k>0 such that {n+km:m∈Z}⊆U}.