Find the sum of an arithmetic series