(m^2 + m)^2 + (m + 1)^2 + m^2 = (m^2 + m + 1)^2

References