\frac{2n^2+3n+1}6