Construct a compact set of real numbers whose limit points form a countably infinite set. I have seen examples of sets that have these properties, like:

$$A=\left\{\frac1n+\frac1 m:m,n\in\Bbb N\right\}\cup\{0\}$$
And it is clear that 0 and all 1/n are limit points. However, how does one show that there are no other limit points?

I am completely stuck here. I have found many examples of sets that have these properties, but always run into trouble showing there are no other limit points. For example, I also tried:

$$A=\{0\}\cup\left\{\frac1n:n\in\Bbb N\right\}\cup\left\{\frac{n}{kn+1}:k,n\in\Bbb N\right\}$$

And showed that 0 and all 1/n are limit points, but I am lacking in how I can show that the $n/(kn+1)$ terms are not. To me, this means showing that there is some deleted ball around each of them which contains no element of A.

Thank you so much for your help!
Consider the first set $A$ in your question. Pick a sequence of points of $A$ that converges to some point in $\mathbb R$. Either the sequence has infinite intersection with some interval $[1/n, 1/(n+1))$, or it does not. 

If the first option holds, check that the sequence converges to $1/n$, because a subsequence of it does (namely, the subsequence whose values are in the interval). 

The other option is that each of these intervals contains only finitely many points of the sequence. Check then that the sequence converges to $0$.



By the way, much more complicated countable compact subsets of $\mathbb R$ are possible. The typical examples are modeled after the countable successor ordinals. See also this answer.
Take a sequence $(a_n)$ in $A$ that converges. For every $\epsilon$ there are only finitely many elements $a\in A$ with $|a|&gt;\epsilon$, so either the sequence becomes eventually constant, or $a_n \to 0$.