Find the Good Sequence

Let’s say two numbers are called “good” if their difference is at least 2. Similarly, a sequence is also called good if the sequence is increasing and each adjacent two elements in this sequence are good as well. A sequence must consist of at least 2 elements.


This is a companion discussion topic for the original entry at https://toph.co/p/find-the-good-sequence