A graph depicting the series with layered boxes and a parabola that dips just below the y-axis
The first four partial sums of the series 1 + 2 + 3 + 4 + ⋯. The parabola is their smoothed asymptote; its y-intercept is −1/12.[1]

The infinite series whose terms are the natural numbers 1 + 2 + 3 + 4 + ⋯ is a divergent series. The nth partial sum of the series is the triangular number

which increases without bound as n goes đồ sộ infinity. Because the sequence of partial sums fails đồ sộ converge đồ sộ a finite limit, the series does not have a sum.

Bạn đang xem: 1+2+3+4+5+6

Although the series seems at first sight not đồ sộ have any meaningful value at all, it can be manipulated đồ sộ yield a number of mathematically interesting results. For example, many summation methods are used in mathematics đồ sộ assign numerical values even đồ sộ a divergent series. In particular, the methods of zeta function regularization and Ramanujan summation assign the series a value of +1/12, which is expressed by a famous formula:[2]

where the left-hand side has đồ sộ be interpreted as being the value obtained by using one of the aforementioned summation methods and not as the sum of an infinite series in its usual meaning. These methods have applications in other fields such as complex analysis, quantum field theory, and string theory.[3]

In a monograph on moonshine theory, University of Alberta mathematician Terry Gannon calls this equation "one of the most remarkable formulae in science".[4]

Partial sums[edit]

The first six triangular numbers

The partial sums of the series 1 + 2 + 3 + 4 + 5 + 6 + ⋯ are 1, 3, 6, 10, 15, etc. The nth partial sum is given by a simple formula:

This equation was known đồ sộ the Pythagoreans as early as the sixth century BCE.[5] Numbers of this size are called triangular numbers, because they can be arranged as an equilateral triangle.

The infinite sequence of triangular numbers diverges đồ sộ +∞, so sánh by definition, the infinite series 1 + 2 + 3 + 4 + ⋯ also diverges đồ sộ +∞. The divergence is a simple consequence of the size of the series: the terms bởi not approach zero, so sánh the series diverges by the term test.


Among the classical divergent series, 1 + 2 + 3 + 4 + ⋯ is relatively difficult đồ sộ manipulate into a finite value. Many summation methods are used đồ sộ assign numerical values đồ sộ divergent series, some more powerful phàn nàn others. For example, Cesàro summation is a well-known method that sums Grandi's series, the mildly divergent series 1 − 1 + 1 − 1 + ⋯, đồ sộ 1/2. Abel summation is a more powerful method that not only sums Grandi's series đồ sộ 1/2, but also sums the trickier series 1 − 2 + 3 − 4 + ⋯ đồ sộ 1/4.

Unlike the above series, 1 + 2 + 3 + 4 + ⋯ is not Cesàro summable nor Abel summable. Those methods work on oscillating divergent series, but they cannot produce a finite answer for a series that diverges đồ sộ +∞.[6] Most of the more elementary definitions of the sum of a divergent series are stable and linear, and any method that is both stable and linear cannot sum 1 + 2 + 3 + ⋯ đồ sộ a finite value; see below. More advanced methods are required, such as zeta function regularization or Ramanujan summation. It is also possible đồ sộ argue for the value of +1/12 using some rough heuristics related đồ sộ these methods.


Passage from Ramanujan's first notebook describing the "constant" of the series

Srinivasa Ramanujan presented two derivations of "1 + 2 + 3 + 4 + ⋯ = +1/12" in chapter 8 of his first notebook.[7][8][9] The simpler, less rigorous derivation proceeds in two steps, as follows.

The first key insight is that the series of positive numbers 1 + 2 + 3 + 4 + ⋯ closely resembles the alternating series 1 − 2 + 3 − 4 + ⋯. The latter series is also divergent, but it is much easier đồ sộ work with; there are several classical methods that assign it a value, which have been explored since the 18th century.[10]

In order đồ sộ transform the series 1 + 2 + 3 + 4 + ⋯ into 1 − 2 + 3 − 4 + ⋯, one can subtract 4 from the second term, 8 from the fourth term, 12 from the sixth term, and so sánh on. The total amount đồ sộ be subtracted is 4 + 8 + 12 + 16 + ⋯, which is 4 times the original series. These relationships can be expressed using algebra. Whatever the "sum" of the series might be, Điện thoại tư vấn it c = 1 + 2 + 3 + 4 + ⋯. Then multiply this equation by 4 and subtract the second equation from the first:

The second key insight is that the alternating series 1 − 2 + 3 − 4 + ⋯ is the formal power series expansion of the function 1/(1 + x)2 but with x defined as 1. (This can be seen by equating 1/1 + x đồ sộ the alternating sum of the nonnegative powers of x, and then differentiating and negating both sides of the equation.) Accordingly, Ramanujan writes

Dividing both sides by −3, one gets c = +1/12.

Generally speaking, it is incorrect đồ sộ manipulate infinite series as if they were finite sums. For example, if zeroes are inserted into arbitrary positions of a divergent series, it is possible đồ sộ arrive at results that are not self-consistent, let alone consistent with other methods. In particular, the step 4c = 0 + 4 + 0 + 8 + ⋯ is not justified by the additive identity law alone. For an extreme example, appending a single zero đồ sộ the front of the series can lead đồ sộ a different result.[1]

One way đồ sộ remedy this situation, and đồ sộ constrain the places where zeroes may be inserted, is đồ sộ keep track of each term in the series by attaching a dependence on some function.[11] In the series 1 + 2 + 3 + 4 + ⋯, each term n is just a number. If the term n is promoted đồ sộ a function n−s, where s is a complex variable, then one can ensure that only lượt thích terms are added. The resulting series may be manipulated in a more rigorous fashion, and the variable s can be mix đồ sộ −1 later. The implementation of this strategy is called zeta function regularization.

Zeta function regularization[edit]

Plot of ζ(s). For s > 1, the series converges and ζ(s) > 1. Analytic continuation around the pole at s = 1 leads đồ sộ a region of negative values, including ζ(−1) = +1/12.

In zeta function regularization, the series is replaced by the series . The latter series is an example of a Dirichlet series. When the real part of s is greater phàn nàn 1, the Dirichlet series converges, and its sum is the Riemann zeta function ζ(s). On the other hand, the Dirichlet series diverges when the real part of s is less phàn nàn or equal đồ sộ 1, so sánh, in particular, the series 1 + 2 + 3 + 4 + ⋯ that results from setting s = –1 does not converge. The benefit of introducing the Riemann zeta function is that it can be defined for other values of s by analytic continuation. One can then define the zeta-regularized sum of 1 + 2 + 3 + 4 + ⋯ đồ sộ be ζ(−1).

From this point, there are a few ways đồ sộ prove that ζ(−1) = +1/12. One method, along the lines of Euler's reasoning,[12] uses the relationship between the Riemann zeta function and the Dirichlet eta function η(s). The eta function is defined by an alternating Dirichlet series, so sánh this method parallels the earlier heuristics. Where both Dirichlet series converge, one has the identities:

The identity continues đồ sộ hold when both functions are extended by analytic continuation đồ sộ include values of s for which the above series diverge. Substituting s = −1, one gets −3ζ(−1) = η(−1). Now, computing η(−1) is an easier task, as the eta function is equal đồ sộ the Abel sum of its defining series,[13] which is a one-sided limit:

Dividing both sides by −3, one gets ζ(−1) = +1/12.

Cutoff regularization[edit]

A graph depicting the series with layered boxes

The series 1 + 2 + 3 + 4 + ⋯

A graph depicting the smoothed series with layered curving stripes

After smoothing

A graph showing a parabola that dips just below the y-axis
Asymptotic behavior of the smoothing. The y-intercept of the parabola is +1/12.[1]

The method of regularization using a cutoff function can "smooth" the series đồ sộ arrive at +1/12. Smoothing is a conceptual bridge between zeta function regularization, with its reliance on complex analysis, and Ramanujan summation, with its shortcut đồ sộ the Euler–Maclaurin formula. Instead, the method operates directly on conservative transformations of the series, using methods from real analysis.

The idea is đồ sộ replace the ill-behaved discrete series with a smoothed version

Xem thêm: công thức tính diện tích hình tròn

where f is a cutoff function with appropriate properties. The cutoff function must be normalized đồ sộ f(0) = 1; this is a different normalization from the one used in differential equations. The cutoff function should have enough bounded derivatives đồ sộ smooth out the wrinkles in the series, and it should decay đồ sộ 0 faster phàn nàn the series grows. For convenience, one may require that f is smooth, bounded, and compactly supported. One can then prove that this smoothed sum is asymptotic đồ sộ +1/12 + CN2, where C is a constant that depends on f. The constant term of the asymptotic expansion does not depend on f: it is necessarily the same value given by analytic continuation, +1/12.[1]

Ramanujan summation[edit]

The Ramanujan sum of 1 + 2 + 3 + 4 + ⋯ is also +1/12. Ramanujan wrote in his second letter đồ sộ 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 đồ sộ the one which a Mathematics Professor at London wrote asking u đồ sộ 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 đồ sộ u the lunatic asylum as my goal. I dilate on this simply đồ sộ convince you that you will not be able đồ sộ follow my methods of proof if I indicate the lines on which I proceed in a single letter. ..."[14]

Ramanujan summation is a method đồ sộ isolate the constant term in the Euler–Maclaurin formula for the partial sums of a series. For a function f, the classical Ramanujan sum of the series is defined as

where f(2k−1) is the (2k − 1)-th derivative of f and B2k is the 2k-th Bernoulli number: B2 = 1/6, B4 = +1/30, and so sánh on. Setting f(x) = x, the first derivative of f is 1, and every other term vanishes, so[15]

To avoid inconsistencies, the modern theory of Ramanujan summation requires that f is "regular" in the sense that the higher-order derivatives of f decay quickly enough for the remainder terms in the Euler–Maclaurin formula đồ sộ tend đồ sộ 0. Ramanujan tacitly assumed this property.[15] The regularity requirement prevents the use of Ramanujan summation upon spaced-out series lượt thích 0 + 2 + 0 + 4 + ⋯, because no regular function takes those values. Instead, such a series must be interpreted by zeta function regularization. For this reason, Hardy recommends "great caution" when applying the Ramanujan sums of known series đồ sộ find the sums of related series.[16]

Failure of stable linear summation methods[edit]

A summation method that is linear and stable cannot sum the series 1 + 2 + 3 + ⋯ đồ sộ any finite value. (Stable means that adding a term at the beginning of the series increases the sum by the value of the added term.) This can be seen as follows. If

then adding 0 đồ sộ both sides gives

by stability. By linearity, one may subtract the second equation from the first (subtracting each component of the second line from the first line in columns) đồ sộ give

Adding 0 đồ sộ both sides again gives

and subtracting the last two series gives

contradicting stability.

Therefore, every method that gives a finite value đồ sộ the sum 1 + 2 + 3 + ⋯ is not stable or not linear.[17]


In bosonic string theory, the attempt is đồ sộ compute the possible energy levels of a string, in particular, the lowest energy level. Speaking informally, each harmonic of the string can be viewed as a collection of D − 2 independent quantum harmonic oscillators, one for each transverse direction, where D is the dimension of spacetime. If the fundamental oscillation frequency is ω, then the energy in an oscillator contributing đồ sộ the n-th harmonic is nħω/2. So using the divergent series, the sum over all harmonics is ħω(D − 2)/24. Ultimately it is this fact, combined with the Goddard–Thorn theorem, which leads đồ sộ bosonic string theory failing đồ sộ be consistent in dimensions other phàn nàn 26.[18]

The regularization of 1 + 2 + 3 + 4 + ⋯ is also involved in computing the Casimir force for a scalar field in one dimension.[19] An exponential cutoff function suffices đồ sộ smooth the series, representing the fact that arbitrarily high-energy modes are not blocked by the conducting plates. The spatial symmetry of the problem is responsible for canceling the quadratic term of the expansion. All that is left is the constant term −1/12, and the negative sign of this result reflects the fact that the Casimir force is attractive.[20]

A similar calculation is involved in three dimensions, using the Epstein zeta-function in place of the Riemann zeta function.[21]


It is unclear whether Leonhard Euler summed the series đồ sộ +1/12. According đồ sộ Morris Kline, Euler's early work on divergent series relied on function expansions, from which he concluded 1 + 2 + 3 + 4 + ⋯ = ∞.[22] According đồ sộ Raymond Ayoub, the fact that the divergent zeta series is not Abel-summable prevented Euler from using the zeta function as freely as the eta function, and he "could not have attached a meaning" đồ sộ the series.[23] Other authors have credited Euler with the sum, suggesting that Euler would have extended the relationship between the zeta and eta functions đồ sộ negative integers.[24][25][26] In the primary literature, the series 1 + 2 + 3 + 4 + ⋯ is mentioned in Euler's 1760 publication De seriebus divergentibus alongside the divergent geometric series 1 + 2 + 4 + 8 + ⋯. Euler hints that series of this type have finite, negative sums, and he explains what this means for geometric series, but he does not return đồ sộ discuss 1 + 2 + 3 + 4 + ⋯. In the same publication, Euler writes that the sum of 1 + 1 + 1 + 1 + ⋯ is infinite.[27]

In popular media[edit]

David Leavitt's 2007 novel The Indian Clerk includes a scene where Hardy and Littlewood discuss the meaning of this series. They conclude that Ramanujan has rediscovered ζ(−1), and they take the "lunatic asylum" line in his second letter as a sign that Ramanujan is toying with them.[28]

Simon McBurney's 2007 play A Disappearing Number focuses on the series in the opening scene. The main character, Ruth, walks into a lecture hall and introduces the idea of a divergent series before proclaiming, "I'm going đồ sộ show you something really thrilling", namely 1 + 2 + 3 + 4 + ⋯ = +1/12. As Ruth launches into a derivation of the functional equation of the zeta function, another actor addresses the audience, admitting that they are actors: "But the mathematics is real. It's terrifying, but it's real."[29][30]

Xem thêm: chức năng của thị trường

In January năm trước, Numberphile produced a YouTube đoạn Clip on the series, which gathered over 1.5 million views in its first month.[31] The 8-minute đoạn Clip is narrated by Tony Padilla, a physicist at the University of Nottingham. Padilla begins with 1 − 1 + 1 − 1 + ⋯ and 1 − 2 + 3 − 4 + ⋯ and relates the latter đồ sộ 1 + 2 + 3 + 4 + ⋯ using a term-by-term subtraction similar đồ sộ Ramanujan's argument.[32] Numberphile also released a 21-minute version of the đoạn Clip featuring Nottingham physicist Ed Copeland, who describes in more detail how 1 − 2 + 3 − 4 + ⋯ = 1/4 as an Abel sum, and 1 + 2 + 3 + 4 + ⋯ = +1/12 as ζ(−1).[33] After receiving complaints about the lack of rigour in the first đoạn Clip, Padilla also wrote an explanation on his webpage relating the manipulations in the đoạn Clip đồ sộ identities between the analytic continuations of the relevant Dirichlet series.[34]

In The Thành Phố New York Times coverage of the Numberphile đoạn Clip, mathematician Edward Frenkel commented: "This calculation is one of the best-kept secrets in math. No one on the outside knows about it."[31]

Coverage of this topic in Smithsonian magazine describes the Numberphile đoạn Clip as misleading and notes that the interpretation of the sum as +1/12 relies on a specialized meaning for the equals sign, from the techniques of analytic continuation, in which equals means is associated with.[35] The Numberphile đoạn Clip was critiqued on similar grounds by German mathematician Burkard Polster on his Mathologer YouTube channel in 2018, his đoạn Clip receiving 2.7 million views by 2023.[36]


  1. ^ a b c d Tao, Terence (April 10, 2010), The Euler–Maclaurin formula, Bernoulli numbers, the zeta function, and real-variable analytic continuation, retrieved January 30, 2014.
  2. ^ Lepowsky, J. (1999). "Vertex operator algebras and the zeta function". In Naihuan Jing and Kailash C. Misra (ed.). Recent Developments in Quantum Affine Algebras and Related Topics. Contemporary Mathematics. Vol. 248. pp. 327–340. arXiv:math/9909178. Bibcode:1999math......9178L..
  3. ^ Tong, David (February 23, 2012). "String Theory". pp. 28–48. arXiv:0908.0333 [hep-th].
  4. ^ Gannon, Terry (April 2010), Moonshine Beyond the Monster: The Bridge Connecting Algebra, Modular Forms and Physics, Cambridge University Press, p. 140, ISBN 978-0521141888.
  5. ^ Pengelley, David J. (2002). "The bridge between the continuous and the discrete via original sources". In Otto Bekken; et al. (eds.). Study the Masters: The Abel-Fauvel Conference. National Center for Mathematics Education, University of Gothenburg, Sweden. p. 3. ISBN 978-9185143009..
  6. ^ Hardy 1949, p. 10.
  7. ^ Ramanujan's Notebooks, retrieved January 26, 2014
  8. ^ Abdi, Wazir Hasan (1992), Toils and triumphs of Srinivasa Ramanujan, the man and the mathematician, National, p. 41
  9. ^ Berndt, Bruce C. (1985), Ramanujan's Notebooks: Part 1, Springer-Verlag, pp. 135–136
  10. ^ Euler, Leonhard (2006). "Translation with notes of Euler's paper: Remarks on a beautiful relation between direct as well as reciprocal power series". Translated by Willis, Lucas; Osler, Thomas J. The Euler Archive. Retrieved 2007-03-22. Originally published as Euler, Leonhard (1768). "Remarques sur un beau rapport entre les séries des puissances tant directes que réciproques". Mémoires de l'Académie des Sciences de Berlin (in French). 17: 83–106.
  11. ^ Promoting numbers đồ sộ functions is identified as one of two broad classes of summation methods, including Abel and Borel summation, by Knopp, Konrad (1990) [1922]. Theory and Application of Infinite Series. Dover. pp. 475–476. ISBN 0-486-66165-2.
  12. ^ Stopple, Jeffrey (2003), A Primer of Analytic Number Theory: From Pythagoras đồ sộ Riemann, p. 202, ISBN 0-521-81309-3.
  13. ^ Knopp, Konrad (1990) [1922]. Theory and Application of Infinite Series. Dover. pp. 490–492. ISBN 0-486-66165-2.
  14. ^ Aiyangar, Srinivasa Ramanujan (7 September 1995). Ramanujan: Letters and Commentary. p. 53. ISBN 9780821891254.
  15. ^ a b Berndt, Bruce C. (1985), Ramanujan's Notebooks: Part 1, Springer-Verlag, pp. 13, 134.
  16. ^ Hardy 1949, p. 346.
  17. ^ Natiello, Mario A.; Solari, Hernan Gustavo (July 2015), "On the removal of infinities from divergent series", Philosophy of Mathematics Education Journal, 29: 1–11, hdl:11336/46148.
  18. ^ Barbiellini, Bernardo (1987), "The Casimir effect in conformal field theories", Physics Letters B, 190 (1–2): 137–139, Bibcode:1987PhLB..190..137B, doi:10.1016/0370-2693(87)90854-9.
  19. ^ See v:Quantum mechanics/Casimir effect in one dimension.[unreliable source?]
  20. ^ Zee 2003, pp. 65–67.
  21. ^ Zeidler, Eberhard (2007), "Quantum Field Theory I: Basics in Mathematics and Physics: A Bridge between Mathematicians and Physicists", Quantum Field Theory I: Basics in Mathematics and Physics. A Bridge Between Mathematicians and Physicists, Springer: 305–306, Bibcode:2006qftb.book.....Z, ISBN 9783540347644.
  22. ^ Kline, Morris (November 1983), "Euler and Infinite Series", Mathematics Magazine, 56 (5): 307–314, CiteSeerX, doi:10.2307/2690371, JSTOR 2690371.
  23. ^ Ayoub, Raymond (December 1974), "Euler and the Zeta Function" (PDF), The American Mathematical Monthly, 81 (10): 1067–1086, doi:10.2307/2319041, JSTOR 2319041, retrieved February 14, 2014.
  24. ^ Lefort, Jean, "Les séries divergentes chez Euler" (PDF), L'Ouvert (in French), IREM de Strasbourg (31): 15–25, archived from the original (PDF) on February 22, 2014, retrieved February 14, 2014.
  25. ^ Kaneko, Masanobu; Kurokawa, Nobushige; Wakayama, Masato (2003), "A variation of Euler's approach đồ sộ values of the Riemann zeta function" (PDF), Kyushu Journal of Mathematics, 57 (1): 175–192, arXiv:math/0206171, doi:10.2206/kyushujm.57.175, S2CID 54514141, archived from the original (PDF) on 2014-02-02, retrieved January 31, 2014.
  26. ^ Sondow, Jonathan (February 1994), "Analytic continuation of Riemann's zeta function and values at negative integers via Euler's transformation of series", Proceedings of the American Mathematical Society, 120 (4): 421–424, doi:10.1090/S0002-9939-1994-1172954-7, retrieved February 14, 2014.
  27. ^ Barbeau, E. J.; Leah, Phường. J. (May 1976), "Euler's 1760 paper on divergent series", Historia Mathematica, 3 (2): 141–160, doi:10.1016/0315-0860(76)90030-6.
  28. ^ Leavitt, David (2007), The Indian Clerk, Bloomsbury, pp. 61–62.
  29. ^ Complicite (April 2012), A Disappearing Number, Oberon, ISBN 9781849432993.
  30. ^ Thomas, Rachel (December 1, 2008), "A disappearing number", Plus, retrieved February 5, 2014.
  31. ^ a b Overbye, Dennis (February 3, 2014), "In the End, It All Adds Up đồ sộ –1/12", The Thành Phố New York Times, retrieved February 3, 2014.
  32. ^ ASTOUNDING: 1 + 2 + 3 + 4 + 5 + ... = –1/12 on YouTube.
  33. ^ Sum of Natural Numbers (second proof and extra footage) on YouTube.
  34. ^ Padilla, Tony, What bởi we get if we sum all the natural numbers?, retrieved February 3, 2014.
  35. ^ Schultz, Colin (2014-01-31). "The Great Debate Over Whether 1 + 2 + 3 + 4... + ∞ = −1/12". Smithsonian. Retrieved 2016-05-16.
  36. ^ Polster, Burkard (January 13, 2018). Numberphile v. Math: the truth about 1+2+3+...=-1/12. Retrieved August 31, 2023 – via YouTube.


Further reading[edit]

  • Zwiebach, Barton (2004). A First Course in String Theory. Cambridge UP. ISBN 0-521-83143-1. See p. 293.
  • Elizalde, Emilio (2004). "Cosmology: Techniques and Applications". Proceedings of the II International Conference on Fundamental Interactions. arXiv:gr-qc/0409076. Bibcode:2004gr.qc.....9076E.
  • Watson, G. N. (April 1929), "Theorems stated by Ramanujan (VIII): Theorems on Divergent Series", Journal of the London Mathematical Society, 1, 4 (2): 82–86, doi:10.1112/jlms/s1-4.14.82

External links[edit]

  • Lamb E. (2014), "Does 1+2+3... Really Equal –1/12?", Scientific American Blogs.
  • This Week's Finds in Mathematical Physics (Week 124), (Week 126), (Week 147), (Week 213)
    • Euler's Proof That 1 + 2 + 3 + ⋯ = −1/12 – by John Baez
    • John Baez (September 19, 2008). "My Favorite Numbers: 24" (PDF).
  • The Euler-Maclaurin formula, Bernoulli numbers, the zeta function, and real-variable analytic continuation by Terence Tao
  • A recursive evaluation of zeta of negative integers by Luboš Motl
  • Link đồ sộ Numberphile đoạn Clip 1 + 2 + 3 + 4 + 5 + ... = –1/12
    • Sum of Natural Numbers (second proof and extra footage) includes demonstration of Euler's method.
    • What bởi we get if we sum all the natural numbers? response đồ sộ comments about đoạn Clip by Tony Padilla
    • Related article from Thành Phố New York Times
    • Why –1/12 is a gold nugget follow-up Numberphile đoạn Clip with Edward Frenkel
  • Divergent Series: why 1 + 2 + 3 + ⋯ = −1/12 by Brydon Cais from University of Arizona