I was wondering if the following alternative definition is the same (or weaker/stronger) than the default definition of compactness:
A set $K\subset \mathbb{R}$ is compact if every convergent sequence in $K$ converges to a point in $K$.
versus the usual:
A set $K\subset \mathbb{R}$ is compact if every sequence in $K$ has a subsequence that converges to a point in $K$.
It certainly applies to, say, $[a,b]$ and $(a,b)$ as well.
I've been searching for a case where it breaks down (i.e. one where the original definition applies but this one doesn't) but I was unsuccessful.
A set $K$ satisfies the first condition if and only if it is a closed subset of $\mathbb R$. For instance, $[0,\infty)$ is closed (and therefore satisfies the condition), but it is not compact.
The second condtion is equivalent to the compactness of $K$.