Problem 6

Difference between the sum of the squares up to x and the square of the
sum up to x.