0
$\begingroup$

I have a series like

sum = 1 + 1/2 + 1/3 + ... ... ... + 1/n

Suppose I know the value of n. so what is the formula to calculate sum?

$\endgroup$
3
$\begingroup$

This is no 'nice' closed formula for this. It's known that $$ \sum_{r=1}^n \frac1n \approx \log n \quad \text{(in some sense)}.$$ Have a Google search for 'harmonic series' to find out more information -- other search engines are available! In particular, I'd recommend looking at the Wikipedia article, and specifically this section of it. Hopefully this helps you! :)

| cite | improve this answer | |
$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.