## Task 6 - V00506

$1 ; 4 ; 5 ; 7 ; 12 ; 15 ; 16 ; 18 ; 23 ;$ etc.

This sequence of numbers is constructed according to a certain rule. Continue this sequence of numbers beyond 50!
Starting from 1, the following addends are added: $3,1,2,5$. Then, one starts again with 3 and continues to add $1,2,5$, etc.

Thus, the desired sequence is:

$$
1 ; 4 ; 5 ; 7 ; 12 ; 15 ; 16 ; 18 ; 23 ; 26 ; 27 ; 29 ; 34 ; 37 ; 38 ; 40 ; 45 ; 48 ; 49 ; 51 ; 56 ; \ldots
$$