Let $f:{\Bbb R}\to{\Bbb R}$. Is there a courterexample for the following equality or is it always true?
$$\lim_{x\to 0}f(x)=\lim_{n\to\infty}f\left(\frac{1}{n}\right)$$
What I think is that one might need a non-continuous function since this is always true for a continuous function. Would $1_{\Bbb Q}$ work? Are there any other counterexamples?