I need to prove that $S = \{1/n : n\in \mathbb{N} \}$ is neither open nor closed.
To prove that this is not open, I began by using contradiction and assumed that the set is open. Since $1/n$ ranges from $(0,1]$, let $y=supS$. By definition, $y≥s$ for all $s \in S$. So, there cannot exist a $\epsilon >0$ such that $(y- \epsilon,y+ \epsilon)$ is contained in $S$.
Is there a better way to word this?
To prove that this is not closed, I would need to prove that the complement is not closed. But how would I do that?
Well, $\sup S=1$. But you are right: $S$ contains no interval of the form $(1-\varepsilon,1+\varepsilon)$, and therefore it os not open.
And it is not closed because$$S^\complement=(-\infty,0]\cup\left(\frac12,1\right)\cup\left(\frac13,\frac12\right)\cup\ldots$$This set is not open, since $0$ belongs to it, but it contains no interval e(-\varepsilon,\varepsilon)$.