Arithmetic and geometric progression