(This question is in fact related to growth functions of groups)
For two functions $f$ and $g$ (on the set of natural numbers) let us write $f\preceq g$ if there is $C\ge 1$ such that $f(n)\le g(Cn)$ for every $n\ge 1$. Let us write $f\sim g$ if $f\preceq g$ and $g \preceq f$.
For such a function $f$ let $\bar{f}(n)=\sum_{i=1}^n f(i)$.
If for all $d\ge 1$ we have $n^d \preceq f$, is it true that $f\sim \bar{f}$?.