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 4 of 7

Sums of squares and cubes

Formulas for 1² + … + n² and 1³ + … + n³, the beautiful fact that the cubes add up to a square, and how to use them.

10 minute read2 things to try5 questionsFree

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

  • ∑k2=n(n+1)(2n+1)6\sum k^2 = \tfrac{n(n+1)(2n+1)}{6}∑k2=6n(n+1)(2n+1)​.
  • ∑k3=(n(n+1)2)2\sum k^3 = \left(\tfrac{n(n+1)}{2}\right)^2∑k3=(2n(n+1)​)2.
  • Split sums like ∑k(k+1)\sum k(k+1)∑k(k+1) into ones you know.

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