the first hundred numbers
- Sum of
- k (the numbers themselves)
- From k =
- 1
- To k =
- 100
Sum5,050
Gauss's pairing: 100 * 101 / 2
Open this exampleSummation over a range for the standard expressions, with the closed form shown where one exists. Gauss got the first of these at seven years old and it still saves the loop.
Also called: sigma notation calculator, series sum.
The sum of k from 1 to 100 is 5,050, across 100 terms. n(n+1)/2 = 100(101)/2
Each of these sums has a formula that gives the answer directly. The sum of the first n whole numbers is n times n plus one over two, which is why pairing the ends works. Squares and cubes have their own, and the sum of cubes is famously the square of the sum of the numbers themselves. The reciprocal sum is the harmonic series and has no closed form at all, so it is computed term by term and grows without limit, just extremely slowly.
the common sums have closed forms that avoid looping at allEach of these is asserted on every build. If a change to the engine ever moved one of these answers, the build would fail before the page could print it.
Sum5,050
Gauss's pairing: 100 * 101 / 2
Open this exampleSum385
10 * 11 * 21 / 6, worked by hand
Open this exampleSum5
degenerate case
Open this exampleFormula version 1.0.0 · definition 1.0.0 · United States · Report a problem with this calculator