Two patterns alternate here. The first pattern begins with 10 and adds 2 to each number to arrive at the next; the alternating pattern begins with 34 and subtracts 3 each time.
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 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.