Method of forming multi-leveled sequential patterns - A. V. Moldavskaja (Problems in programming, 2016)