Find the sum of the first n squares
The sum 1² + 2² + ... + n² equals n(n + 1)(2n + 1) / 6.
This is original written practice. Each answer is checked by adding the squares one at a time.
Use the formula, then add directly
- Work out n(n + 1)(2n + 1) / 6.
- Add 1² + 2² + ... + n² term by term.
- Check: both totals must agree.
n = 5
5 × 6 × 11 / 6 = 55.
Check: 1 + 4 + 9 + 16 + 25 = 55.
n = 10
10 × 11 × 21 / 6 = 385.
Check: 1 + 4 + 9 + 16 + 25 + 36 + 49 + 64 + 81 + 100 = 385.
n = 20
20 × 21 × 41 / 6 = 2870.
Check: The first ten squares add to 385, and 11² to 20² add to 2485. 385 + 2485 = 2870.
Counterexample: squaring the sum
A student works out n = 5 as (1 + 2 + 3 + 4 + 5)² = 225.
The check fails. The squares add to 55. The sum of squares is not the square of the sum.
Try one yourself
Find the sum of the first 8 squares and check.
Show the worked self-check
8 × 9 × 17 / 6 = 204. Check: 1 + 4 + 9 + 16 + 25 + 36 + 49 + 64 = 204.
Scope and limits
- The page covers the sum of squares from 1² to n².
- It does not cover proof by induction or sums of cubes.
- The examples are original practice, and the questions are not an exam key.
- Every answer is checked by adding term by term.
Common questions
Is the formula always a whole number?
Yes, for any whole n.
What is the sum of the first 3 squares?
It is 14, since 1 + 4 + 9 = 14.
Is the sum bigger than n²?
Yes, from n = 2 onwards.
How is it different from the sum of odd numbers?
That sum is n², a different series.
Sources and scope
Sources checked . They support the formula or law used. The numbers, worked examples and self-check above are original EZT practice.
- NCERT Class 11 Mathematics: Sequences and Series, for sums of series.
- Wikipedia: Square pyramidal number, for the sum of squares formula.
Read the Class 11 sequences and series chapterBrowse tuition and practice pages