sum of n