Let $f : \mathbb{R} → \mathbb{R}$ be a function such that for any $r ∈ \mathbb{R}$ , we have
$$\lim_{n\rightarrow \infty }f\left ( \frac{r}{n} \right )= 0$$
Prove or disprove: $\lim_{x→0} f(x) = 0$
My claim: The statement is true because $r ∈ \mathbb{R}$.
In other words, I think since we can pick any $r ∈ \mathbb{R}$, with $\lim_{n\rightarrow \infty} \frac{r}{n}$, we can cover any neighbor of $0$. (Either rational or irrational numbers near $0$).
But, since the reasoning does not seem strong enough for me, I also thought of any counterexample of $f$. So, I tried to construct a discontinuous function at $x=0$, but I couldn't think of any counterexample.
Is the statement really true? Then, how should I change (or improve) my reasoning to write it in clear mathematical terms?
If the statement is false, what should I notice to have a counterexample?