$A = \left\{\frac{n+m}{nm}:n,m\in \mathbb{N} \right\}$
How would I prove that A is not a compact set by using the definition of a compact set?
I do not fully understand yet how a compact set works. I probably would have to find a subsequence with its limit outside of A but I would not know how to do that.
I'll assume that $\mathbb N=\mathbb Z_{>0}$.
Finding a sequence in $A$ whose limit is outside of $A$ is a good approach. This will show that $A$ is not closed, and therefore not compact.
Try looking at the sequence $\left(\frac{n+n}{n^2}\right)_{n\geq 1}$ in $A$.