If $f: (0,\infty)\rightarrow\mathbb{R}^{1}$ is continuous, and $\lim\limits_{n\rightarrow\infty}f(2^{n}x)=0.$ for all $x>0$. I want to prove $\lim\limits_{x\rightarrow\infty}f(x)=0$, but I have no idea.
This looks similar to the problem A classical problem about limit of continuous function at infinity and its connection with Baire Category Theorem. But when I replace $n$ with $2^{n}$, I cannot prove it. The problem is that there is no $c>0$, such that $$(c,\infty)\subset\bigcup_{n=N}^{\infty}(2^{n}a,2^{n}b).$$
I have also doubted the validity of this conclusion, and I have tried to find a counterexample, but I have not found one.I want to know if this conclusion is true, and if not, is there a counterexample? Thank you.