cont sum of n