implementing Arithmetic Progression classification