This problem actually goes by another name, but to throw off cheaters, I'll use "folding" to describe the following property:
A folding sequence is a sequence of numbers where the difference between consecutive numbers in the sequence alternate in sign. A difference of 0 is defined to have no sign, so any sequence with consecutive repeating numbers is by definition a non-folding sequence.
To illustrate, these are folding sequences:
1