Let $X=\mathbb N$ be equipped with the topology generated by the basis consisting of sets $A_n = \{n,n+1,n+2,\ldots\} ,n \in \mathbb N $ . Then $X$ is
compact and connected
Hausdorff and connected
Hausdorff and compact
Neither compact nor connected
My attempt is
Let $ A_n \text{ and } A_m$ be two distinct basis elements . If $n > m$, then $A_n \cap A_m = A_n$. So intersection of two non empty open set is not empty. So $(X,\tau)$ is not Hausdorff but connected .
Please tell me about compactness.
Thank you.