=
=
=
=
Combine the 1st and 3rd terms
The first sum is the arithmetic series of the first n positive
integers,
which is given by the formula:
so we have
The remaining sum is the sum of the squares of the first n
positive integers. This is also a well-known formula:
So now we have:
Rewrite the second term:
Factor out
Get LCD in the right parentheses:
Edwin