checks if an array contains a series of arithmetic progression or geometric progression
>= 0
Olumuyiwa Osiname