If ω is an imaginary cube root of 1, then the value of 1(2−ω)(2−ω2)+2(3−ω)(3−ω2)+....+(n−1)(n−ω)(n−ω2) is