-4

I was struggling to find the sum of $\sum_{i=n/2}^n{1/i}$. I came up with a series $$S = \frac{2}{n} + \frac{2}{(n+2)}+\frac2{(n+4)}+\ldots+\frac{2}{2n}$$ But I am not being able to find which formula to use to find thi sum

M.Mass
  • 2,672

1 Answers1

2

There's not a nice answer, but you can make a good approximation with

$$\sum_{i=n/2}^n \frac{1}{i} \approx \int_{n/2-1}^{n} \frac{1}{x} \; dx = \ln \frac{2n}{n-2}.$$

There's a little problem that $n/2$ might not be an integer, so the above assumes $n$ is even. If $n$ is odd, change the lower integration limit to $(n-1)/2.$