Given that sum of $f(n)$ is $f(1)+f(2)+\dots+f(n)$, where $n$ is natural number.
I am stuck with this problem. I tried to use the definition of $\mathcal{O}$, then $$f(1)+f(2)+\cdots+f(n) \le c(g(1)+g(2)+\cdots+g(n))$$ but this seems to be going nowhere. And it seems that I should use $\log$ and the property $\displaystyle\sum_{i=1}^{2^n}\frac{1}{i}\ge \frac{n}{2}.$ Any help, thanks.