Consider the topology on \( {Z} \) with basis \( S(a,b) = \{an + b : n \in {Z\} \), where \( a, b \in {Z} \) and \( a \neq 0 \). Consider the following statements:}
1. \( S(a, b) \) is both open and closed for each \( a, b \in {Z} \) with \( a \neq 0 \).
2. The only connected set containing \( x \in {Z} \) is \( \{x\} \).
Which one of the following is correct?