arithmetic and geometric progression pdf