simply the summation of

(2/n)(2i/n)