(n^3-9n^2+20n)/6