Gradient

Courses

∇\nabla∇The maths behind AI0/72
π\piπMaths0/84
  • Trigonometry0/7
  • Sigma and series0/7
  • Data handling0/7
  • Matrices0/5
  • Derivatives0/5
⋆\star⋆AI for everyone0/10
Γ\GammaΓGame theory0/49
py\texttt{py}pyPython for AI0/15
y^\hat{y}y^​Build your own AI0/15
All courses

Tuition

My tuitionOlympiad trackCompetitions

Practice

ProjectsAsk a questionTrain on a GPUExplorationsMaths StoriesUnsolved problemsPlaygroundScience labsMock testsOlympiad

Reference

GlossaryBlogDiscoveries
Σ\SigmaΣMaths, module 9: Sigma and series, lesson 3 of 7

Arithmetic series

Gauss’s pairing trick gives the sum of any list with equal gaps. Sum of 1 to n, and of any arithmetic progression.

10 minute read3 things to try5 questionsFree

The story goes that young Carl Friedrich Gauss was told to add 1 to 100. He wrote the list forwards and backwards:

S=1+2+⋯+100S=100+99+⋯+1\begin{aligned} S &= 1 + 2 + \dots + 100 \\ S &= 100 + 99 + \dots + 1 \end{aligned}SS​=1+2+⋯+100=100+99+⋯+1​

Each column adds to 101, and there are 100 columns, so 2S=100×1012S = 100 \times 1012S=100×101 and S=5050S = 5050S=5050.

Read the whole lesson free

Make a free account to read on, try the interactive parts, answer the 5 practice questions and keep your progress.

Create a free accountLog in

What this lesson covers

  • 1+2+⋯+n=n(n+1)21 + 2 + \dots + n = \tfrac{n(n+1)}{2}1+2+⋯+n=2n(n+1)​.
  • AP sum =n2(first+last)=n2(2a+(n−1)d)= \tfrac{n}{2}(\text{first} + \text{last}) = \tfrac{n}{2}(2a + (n-1)d)=2n​(first+last)=2n​(2a+(n−1)d).
  • The first nnn odd numbers add to n2n^2n2.

More in Sigma and series

  1. 1What the sigma sign means
  2. 2The rules of sigma
  3. 3Arithmetic series
  4. 4Sums of squares and cubes
  5. 5Geometric series
  6. 6Telescoping and clever sums
  7. 7Sigma in statistics