Is the subset $$[{\frac{1}{2^{n}}|n\epsilon \mathbb{N}}] \cup [2]$$ compact
My thoughts: Use Heine-Borel which states any closed and bounded subset is compact. The sequence $$(\frac{1}{2^{n}})$$ is bounded and is closed since the sequence $$(\frac{1}{2^{n}})$$ which is a subset of A, converges to 1∈A. So the subset is compact. Is this correct?
(Apologies, as I am not great at the coding on this)
A subset is closed if and only if all of its limit points belong to the set. It remains to prove that there are indeed no limit points of this set which lie outside of the set (which isn't terribly hard to do).
Boundedness is trivial here, and as you pointed out, closedness and boundedness together imply compactness in $\mathbb{R}$ with the standard topology.