The period of the logic train on the left is half of the one on the right. This results in four possible combinations of on and off during one cycle of the rightmost train. Each of these combinations turns on a specific led, the next in the sequence.