Update sumofseries.n