Ma · Mathematics

What Is the Sum of All Positive Odd Numbers?

Published By the 9to5Science editorial team

At a glance

  1. 1. Write the partial sum

    Add the first n positive odd numbers: 1 + 3 + 5 + … + (2n − 1).

  2. 2. Use the finite formula

    The sum of the first n odd numbers is n squared.

  3. 3. Take the limit

    As n grows, n squared grows without bound, so the infinite series diverges to positive infinity.

  4. 4. Separate regularization

    A value of 1/12 can arise from zeta regularization, but it is not the ordinary sum.

The phrase “sum of all the odd numbers to infinity” usually means the infinite series

1+3+5+7+⋯ .1+3+5+7+\cdots.

In the ordinary meaning of an infinite sum, this series does not equal a finite number. Its partial sums grow without limit. You may also encounter the value 1/121/12 associated with this series; that is a regularized value obtained by a different method, not the ordinary sum.

The ordinary sum diverges

An infinite series is defined by looking at its finite partial sums and asking whether they approach a finite limit. For the positive odd numbers, the partial sum of the first nn terms is

Sn=1+3+5+⋯+(2n−1).S_n=1+3+5+\cdots +(2n-1).

The last term is 2n−12n-1, so the terms form an arithmetic sequence. Its sum is

Sn=n2(1+(2n−1))=n2.S_n=\frac{n}{2}\bigl(1+(2n-1)\bigr)=n^2.

Since n2n^2 grows without bound as nn increases, the partial sums have no finite limit. In the extended sense, they tend to +∞+\infty—that is, the series diverges to positive infinity. It is not a convergent series with a finite sum.

A worked example

Take the first ten positive odd numbers:

1+3+5+7+9+11+13+15+17+19.1+3+5+7+9+11+13+15+17+19.

There are ten terms, so the formula gives

S10=102=100.S_{10}=10^2=100.

Taking more terms makes the sum larger: the first 100 odd numbers sum to 10,00010{,}000, and the first 1,000 sum to 1,000,0001{,}000{,}000. This pattern is exact, not just an estimate. The partial sums increase without bound, which is precisely why the infinite series diverges.

There is also a simple pairing explanation. Pair the first term with the last, the second with the second-last, and so on. Each pair sums to 2n2n. If nn is even, there are n/2n/2 pairs, giving n2n^2. If nn is odd, there are (n−1)/2(n-1)/2 such pairs plus the middle term nn, giving n(n−1)+n=n2n(n-1)+n=n^2.

Why people quote 1/12

The value 1/121/12 appears in zeta regularization. Start with the sum over positive odd integers in the form

1−s+3−s+5−s+⋯ .1^{-s}+3^{-s}+5^{-s}+\cdots.

For real part of ss greater than 1, where the relevant series converge, separating the even terms from the zeta series gives

∑k=1∞(2k−1)−s=(1−2−s)ζ(s).\sum_{k=1}^{\infty}(2k-1)^{-s}=(1-2^{-s})\zeta(s).

The right-hand side can be analytically continued to values of ss where the original series does not converge. Evaluating that continued function at s=−1s=-1 gives

(1−2−(−1))ζ(−1)=(1−2)(−112)=112.(1-2^{-(-1)})\zeta(-1)=(1-2)\left(-\frac{1}{12}\right)=\frac{1}{12}.

This is why 1+3+5+⋯1+3+5+\cdots is sometimes assigned the zeta-regularized value 1/121/12. The calculation continues a function beyond the region where its defining series converges. It does not show that the partial sums 1,4,9,16,…1,4,9,16,\ldots approach 1/121/12; they plainly do not.

Regularized values can be useful in particular areas of mathematics and physics, provided the chosen procedure is specified and its rules are appropriate to the problem. They should not be substituted for the ordinary sum in elementary series questions.

Common mistakes

  • Treating a regularized value as a limit. The ordinary series is defined by the limit of its partial sums, and those sums are n2n^2, not a sequence approaching 1/121/12.
  • Rearranging divergent series as if they converged. Familiar operations such as regrouping or subtracting infinite series may change or invalidate a result when the series diverges.
  • Confusing “diverges” with “has no behavior.” Here the partial sums have clear behavior: they grow without bound. The series diverges to positive infinity, rather than oscillating or approaching a finite limit.

So, under the standard definition of an infinite series, the sum of all positive odd numbers is not a finite number: its partial sums grow like the square of the number of terms.

References

  1. NIST Digital Library of Mathematical Functions, §25.2: Definition and Expansions of the Riemann Zeta Function
  2. Divergent Series, G. H. Hardy

Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.