This is an alternating addition and subtraction series. In the first pattern, 2 is added to each number to arrive at the next; in the alternate pattern, 6 is subtracted from each number to arrive at the next.
In this alternating repetition series, the random number 21 is interpolated every other number into an otherwise simple addition series that increases by 2, beginning with the number 9.