Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Possible Duplicate:
What is the expression of $n$ that equals to $\sum_{i=1}^n \frac{1}{i^2}$?

Asymptotic formulas for the n-th harmonic number are well-known: $$ \sum_{k=1}^n\frac1n=\log n+\gamma+\frac{1}{2n}-\frac{1}{12n^2}+O\left(\frac{1}{n^4}\right) $$ with more terms easy to generate if needed.

Is there is a similar formula for the sums of reciprocal squares? Something like $$ \sum_{k=1}^n\frac{1}{n^2}=\frac{\pi^2}{6}+\cdots+O\left(\frac{1}{n^4}\right) $$ (order negotiable, but ideally something decent like the above).

share|improve this question
2  
If you are interested in questions like these, Euler McLaurin ought to be in your toolbox! –  Aryabhata Mar 30 '12 at 23:14
add comment

marked as duplicate by Aryabhata, robjohn, Dylan Moreland, t.b., anon Mar 31 '12 at 0:08

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2 Answers

up vote 2 down vote accepted

Yes, I believe you can get this from the Euler McLaurin Summation formula.

Which according to my previous answer here: http://math.stackexchange.com/a/14518/1102 comes to (if you only include upto $n^{-2}$)

$$\sum_{j=1}^{n} \dfrac{1}{j^2} = \frac{\pi^2}{6} - \dfrac{1}{n} - \dfrac{1}{2n^2} + \mathcal{O}(\dfrac{1}{n^3})$$

share|improve this answer
    
Wait.. this is a dupe... Yes: math.stackexchange.com/questions/14515/… –  Aryabhata Mar 30 '12 at 23:04
add comment

Wikipedia gives the identity

$$\int_0^a H_{x,2}\;\mathrm dx=a\frac{\pi^2}6-H_a$$

where $H_{n,m}=\sum_{k=0}^n k^{-m}$ and $H_n = H_{n,1}$. It may be useful to get an approximation.

share|improve this answer
add comment

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