Aleksey Ropan's submission of Generalized Arithmetic Progression Free Sequence | CodeChef