We have $\frac{1}{2} < \sigma < 1$ and
$$
f(n) = \Bigl|\, 1+ \frac{1}{2^{\sigma + i n}} + \cdots + \frac{1}{n^{\sigma + i n}} \Bigr|
$$
. My goal is proving this statement that $|f(n)|$ is $O(\log n)$ but I'm not certain that this is true. some bounds like $O(n^{1-\sigma})$ are simple to prove but my desired bound is $\log n$.
Any help?