math - totals of consecutive numbers