To prove:

The sum of the first n even squares, less the sum of the first n squares, is equal to the nth square, plus the nth cube, plus the nth triangular number.

The sum of the first n odd squares, less the sum of the first n squares, is equal to the nth cube, less the nth triangular number.