This is a simple subtraction with repetition series. It begins with 20, which is repeated, then 3 is subtracted, resulting in 17, which is repeated, and so on.
Here, every other number follows a different pattern. In the first series, 6 is added to each number to arrive at the next. In the second series, 10 is added to each number to arrive at the next.