n^2+(n+1)^2+(n+2)^3