Σ

Series Sum Calculator

Power Sums · Arithmetic · Geometric · Step-by-Step

Calculate the sum of Σk¹, Σk², Σk³, Σk⁴, arithmetic series, and geometric series — with formula derivation, comparison table, and bar chart.

Series Type

Quick Examples

Computes Σk=1n kᴸ  •  Closed-form formula for p = 1–6; direct summation for p > 6

Series Sum Formulas: From Gauss to Faulhaber

Few mathematical discoveries delight students more than the realization that adding long lists of numbers can be done instantly with a single formula. The story of series sums stretches from ancient Greece to 17th-century Germany, and the underlying ideas power everything from algorithm complexity analysis to physics simulations.

The Gauss Legend: 1 + 2 + ... + 100 = 5050

Around 1787, a young Carl Friedrich Gauss was reportedly asked by his teacher to add all integers from 1 to 100 — a task meant to keep the class busy. Within seconds, Gauss wrote 5050. His insight: pair the first and last terms (1+100=101), the second and second-to-last (2+99=101), and so on, giving 50 pairs each summing to 101. The result is 50 × 101 = 5050. This elegant pairing argument generalizes to the famous triangular number formula:

S(n) = n(n+1)/2     [Sum of first n positive integers]

This is also written as the n-th triangular number Tₙ, because n(n+1)/2 dots can always be arranged in a perfect equilateral triangle.

Sum of Squares and Cubes

The sum of squares formula was known to ancient Greek and Chinese mathematicians and appears in combinatorics, statistics, and physics:

Σk² = n(n+1)(2n+1)/6     [Sum of squares, 1² + 2² + ... + n²]

The sum of cubes obeys one of mathematics' most surprising identities — Nicomachus's theorem, proven around 100 AD:

Σk³ = [n(n+1)/2]² = (Σk)²     [Sum of cubes = square of sum!]

This means 1³ + 2³ + 3³ + 4³ + 5³ = 225 = 15² = (1+2+3+4+5)². Every time you add the first n cubes, you get a perfect square.

Faulhaber's Formula and Higher Powers

Johann Faulhaber (1580–1635), a German mathematician and reckoning master, computed sums of powers Σk¹ through Σk17 by hand — an extraordinary achievement. Today we know these as Faulhaber's formulas. Each sum Σkᴸ is a polynomial of degree p+1 in n, with the leading coefficient 1/(p+1):

pFormula for Σk=1n kᴸ
1n(n+1)/2
2n(n+1)(2n+1)/6
3[n(n+1)/2]²
4n(n+1)(2n+1)(3n²+3n−1)/30
5n²(n+1)²(2n²+2n−1)/12
6n(n+1)(2n+1)(3n⁴+6n³−3n+1)/42

Arithmetic and Geometric Series

An arithmetic series adds terms that increase by a fixed common difference d. With first term a and n terms, the sum is:

S = n/2 × (2a + (n−1)d) = n × (a + last term) / 2

A geometric series multiplies each term by a fixed common ratio r. With first term a and n terms:

S = a(r⊃n; − 1) / (r − 1)    when r ≠ 1   ;    S = n × a    when r = 1

Geometric series appear in compound interest (your investment grows geometrically), repeating decimals (0.333... = 1/3 as an infinite geometric series with r = 1/10), and signal processing.

Applications in Algorithm Complexity and Beyond

  • Algorithm analysis: Selection sort makes 1+2+...+(n-1) = n(n-1)/2 comparisons, giving O(n²) complexity — directly from the sum of integers formula.
  • Physics: The total distance fallen under gravity after n seconds involves Σk (arithmetic series); moments of inertia involve Σk².
  • Finance: Compound interest over n periods is a geometric series; annuity payments sum to a closed-form geometric formula.
  • Statistics: The variance of a uniform distribution over {1, ..., n} involves Σk² and Σk.
  • Computer graphics: Bezier curves and B-splines use polynomial bases whose integrals are related to power sums.

Reference: Sum Values for Small n

nΣkΣk²Σk³Σk⁴
11111
235917
36143698
51555225979
1055385302525333
20210287044100722666
1005050338350255025002050333330

Frequently Asked Questions

What is the formula for the sum of first n positive integers?
The sum of the first n positive integers is S = n(n+1)/2. For example, 1+2+3+...+100 = 100×101/2 = 5050. This formula was famously used by Gauss as a child. The result is also called the n-th triangular number.
What is the formula for the sum of squares of first n numbers?
The sum of squares of the first n natural numbers is Σk² = n(n+1)(2n+1)/6. For n=10: 10×11×21/6 = 385. This formula appears in statistics when computing variance and in physics for moments of inertia.
What is the formula for the sum of cubes of first n numbers?
The sum of cubes follows Nicomachus's theorem: Σk³ = [n(n+1)/2]². Remarkably, this equals the square of the sum of integers. For n=5: 1+8+27+64+125 = 225 = 15² = (1+2+3+4+5)².
How do you calculate the sum of an arithmetic series?
For an arithmetic series with first term a, common difference d, and n terms: S = n/2 × (2a + (n−1)d). Equivalently, S = n × (first term + last term) / 2. For 1+5+9+13+17 (a=1, d=4, n=5): S = 5/2 × (2 + 16) = 45.
How do you calculate the sum of a geometric series?
For a geometric series with first term a, ratio r ≠ 1, and n terms: S = a(r⊃n; − 1)/(r − 1). When r = 1, S = n × a. For a=2, r=3, n=6: S = 2(3⁶−1)/2 = 728. Geometric series model compound growth and financial annuities.
What is Faulhaber's formula?
Faulhaber's formula, named after Johann Faulhaber (1580–1635), gives a closed-form polynomial for Σkᴸ for any positive integer p. The result is always a degree-(p+1) polynomial in n. Faulhaber hand-computed these sums up to p=17. Modern proofs use Bernoulli numbers to express the coefficients systematically.
Why does the sum of cubes equal the square of the sum of integers?
The identity Σk³ = (Σk)² is Nicomachus's theorem, proven around 100 AD. Both sides equal [n(n+1)/2]². A visual proof rearranges cubes into L-shaped gnomons that tile a square of side 1+2+...+n. It can also be proven by induction: assume it holds for n, then show it holds for n+1 by verifying the difference (n+1)³ matches the increase in (Σk)².