\sum_{k=0}^{n}k^2+2k-1={n\over 6}* (2n^2+9n +1)