Create sumofseries.n