Identify arithmetic and geometric series