summation from n = 0 to w ( summation from k = n to 2n (k))