Possible Duplicate:
A classic problem about limit of continuous function at infinity and its connection with Baire Category Theorem
Someone gave me this little question:
Prove or disprove
For a continuous function $f:\mathbb R\to\mathbb R$ the statement $\lim_{x\to\infty}f(x)=0$ holds, iff for each $\varepsilon>0$ the statement $\lim_{n\to\infty}a_n=0$ holds, where $a_n=f(n\cdot\varepsilon)$.
I thought about it for some time, but I failed to find a proof or a counterexample. So, how can I (dis)prove this statement?