sum (-1)^k