if my list is in the following format:
a=[1,3,4,5,8,10]
How can I show that the elements are not increasing by 1? In other words, if my list is
a=[1,2,3,4,5,6]
the function should say that it is sequential i.e. each element is greater than the previous element by one. Thanks in advance.