Today, at my linear algebra exam, there was this question that I couldn't solve.
Prove that $$\det \begin{bmatrix} n^{2} & (n+1)^{2} &(n+2)^{2} \\ (n+1)^{2} &(n+2)^{2} & (n+3)^{2}\\ (n+2)^{2} & (n+3)^{2} & (n+4)^{2} \end{bmatrix} = -8$$
Clearly, calculating the determinant, with the matrix as it is, wasn't the right way. The calculations went on and on. But I couldn't think of any other way to solve it.
Is there any way to simplify $A$, so as to calculate the determinant?