 After that, in each step the expressions "R" are computed from the previous ones by

Another way to understand the operation of the algorithm is as an "elimination method", where the states from 0 to "n" are successively removed