This is a simple division series; each number is one-half of the previous number.
In other terms to say, the number is divided by 2 successively to get the next result.
4/2 = 2
2/2 = 1
1/2 = 1/2
(1/2)/2 = 1/4
(1/4)/2 = 1/8 and so on.
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.
This is an alternating addition series, with a random number, 35, interpolated as every third number. The pattern of addition is to add 2, add 5, add 2, and so on. The number 35 comes after each "add 2" step/