Let $\lim_{n \to \infty} f(x_n) = f(x)$ for all sequences $\{ x_n \}$ such that $\lim_{n \to \infty} x_n = x$. I am trying to prove that $f$ is continuous.
I know that for all $\varepsilon > 0$ there exists $N \in \mathbb{N}$ such that $|f(x) - f(x_n)| < \varepsilon$ for all $n \ge N$. I also know that there exists $\delta > 0$ such that $|x - x_n| < \delta$ for all $n \in \mathbb{N}$, since a convergent sequence is bounded.
But I need to find a number $\delta > 0$ such that $|f(x) - f(x_0)| < \varepsilon$, if $|x - x_0| < \delta$. For any sequence $\{ x_n \}$ there will be an $x_0 \notin \{ x_n \}$ such that $|x - x_0| < \delta$, since the reals are not countable. I guess I need to show that any $x_0$ belongs to some sequence that converges to $x$ and that satisfies $|x - x_0| < \delta$. Is this the correct approach or am I missing something?