In the letter Ramanujan wrote to Hardy did he say that $1+2+3+\cdots=-\frac{1}{12}$. I have been hearing this ridiculous statement for some time now. And now people say that Ramanujan wrote it. Is it true?

  • $\begingroup$ Proper MathJax usage would be $1+2+3+\cdots= - \frac 1{12}$ rather than $1+2+3...=-\frac 1{12}$. $\qquad$ $\endgroup$ Jun 11, 2016 at 16:38
  • $\begingroup$ If $s>1$ then Riemann's zeta function is $$\zeta(s) = \sum_{n=1}^\infty \frac 1 {n^s}, \tag 1$$ and substitution of $-1$ for $s$ in that equality yields $$\zeta(-1) = 1+2+3+\cdots.$$ But that substitution yields a series that does not converge. However, by analytic continuation of $(1)$, it turns out that $\zeta(-1) = -1/12$. $\qquad$ $\endgroup$ Jun 11, 2016 at 16:42

3 Answers 3


Ramanujan did write down the expression in his first notebook as shown here. For a quick overview of this series, John Baez's lecture notes are a good starting point. These notes suggest that Ramanujan's observation goes back to Euler, though I have only seen the related alternating series $1 - 2 + 3 - 4 \dots = \frac{1}{4}$ mentioned in Euler's publications (see E352).

  • 1
    $\begingroup$ But the question is not whether Ramanujan wrote it in his notebook, but whether he wrote it in his famous letter to Hardy. $\endgroup$ Jun 4, 2016 at 15:05
  • 2
    $\begingroup$ @Gerald Edgar, thanks for pointing that out. The answer appears to be yes, the formula is mentioned in his first letter to Hardy: see page 30 of Ramanujan: Letters and Commentary. $\endgroup$ Jun 4, 2016 at 15:26
  • $\begingroup$ Nice reference. Of course we should note that before Ramanujan gives these sums, he says that the series are divergent. And after he does it, he notes that there is required a discussion of when to use them and when not. When written without these two additional parts, the sum is (as the OP said) ridiculous. $\endgroup$ Jun 4, 2016 at 18:13
  • $\begingroup$ I have read in multiple papers that Euler did derive this sum using the alternating zeta function and its relationship to the zeta function. $\endgroup$
    – MrYouMath
    Jun 15, 2016 at 9:08

Here is the relevant text from Ramanujan's second letter to G. H. Hardy, dated 27 February 1913 :

Dear Sir, I am very much gratified on perusing your letter of the 8th February 1913. I was expecting a reply from you similar to the one which a Mathematics Professor at London wrote asking me to study carefully Bromwich's Infinite Series and not fall into the pitfalls of divergent series. … I told him that the sum of an infinite number of terms of the series: 1 + 2 + 3 + 4 + · · · = −1/12 under my theory. If I tell you this you will at once point out to me the lunatic asylum as my goal. I dilate on this simply to convince you that you will not be able to follow my methods of proof if I indicate the lines on which I proceed in a single letter. …

Source : wikipedia page on $\Sigma n$, anchor at "Ramanujan summation".


He did say that in his second letter to Hardy, and as it turned out, it is not so ridiculous after all. This sum is being used in physics like in string theory.

  • $\begingroup$ This does not seem to add much to the answers that were already given... $\endgroup$
    – Danu
    Aug 22, 2017 at 11:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.