Page's Algorithm

Page's Algorithm is for generating combinatorial objects called Second-Order Restricted Weak Integer Compositions.