A Gray Code for Compositions

Abstract The paper describes a rapid algorithm for the sequential listing of the compositions of n into k parts.