table[n(n^2+1)/2,{n,28,32}]