# Sum of n squares (part 3)

The sum of the first n squares, 1 + 4 + 9 + 16 + ... + n², is given by the formula ⅙n(n+1)(2n+1). In this video we factor and rewrite the formula that we found in the previous video and obtain the common formula given above. Created by Sal Khan.