This post shows two ways of seeing why the following sum of consecutive squares is true.

The first way involves writing the numbers to in an equilateral triangle, where the th row consists of s. The sum of the numbers in such a triangle is which is what we wish to find.

We then consider the same triangle rotated by 120, then 240 degrees. This gives us three triangles, illustrated here in the case .

Something magical happens when we add the corresponding entries of each triangle – we get the same number everywhere!

The reason for this is that when one goes from an entry to an adjacent one (either left-right or diagonally), in one triangle the number increases by 1, in another it decreases by 1 and in the third it remains the same. Overall the sum of the three corresponding entries in each triangle is unaltered. This can be made rigorous by using coordinates (an exercise for the interested reader!).

Hence three times the sum of the numbers in each original triangle is times the number of entries in the triangle: .

In other words,

as desired.

The second way of seeing why the sum is true (that can be made into a rigorous proof) is to show that 6 times the sum is . We consider six pyramids where the th level (counting from the top) consists of an array of unit cubes. This is photographed here (while I visited this awesome place in Dresden, Germany) in the case .

These pyramids can then be joined together to form a rectangular box of dimension as required.

Layer by layer, this appears as follows, where each pyramid is shown in a different colour.

To show that this was no fluke, here is the corresponding illustration of the 4x4x4 case, which should demonstrate how the above can be generalised.

### Like this:

Like Loading...

*Related*

Excellent! Your final equation in the first method seems to be missing a factor of 3 on the left-hand side.

Comment by HT Goodwill — February 2, 2016 @ 5:13 pm |

Thanks for the correction! Now fixed.

Comment by ckrao — February 4, 2016 @ 9:51 am |