sum k, k=1 to n