Suppose a set $K\subset \mathbb{R}$. Every sequence in K has a convergent subsequence that converges to a limit in K. Prove that K is bounded.
I want to use contradiction. Suppose K is not bounded, then there should be an unbounded sequence $\{a_n\}$. And I want to show that $\{a_n\}$ doesn't have a convergent subsequence, but I don't know how to do.
Clearly this won't work for any unbounded sequence: for example, the sequence $0,1,0,2,0,3,0,4,\ldots$ has a convergent subsequence. However, since $K$ is unbounded, we may choose $a_i$ to be any element of $K$ such that $|a_i| \geq i$; this way, we get a sequence $(a_n)$ with no convergent subsequence.