Page, D.R. J Math Model Algor (2013) 12: 345. doi:10.1007/s10852-012-9194-4
This paper presents a new algorithm that arrives at a generalized solution for the generation of restricted weak compositions of n-parts. In particular, this generalized algorithm covers many commonly sought compositions such as bounded compositions, restricted compositions, weak compositions, and restricted part compositions. Introduced is an algorithm for generating generalized types of restricted weak compositions called first-order, and second-order restricted weak compositions.
Restricted compositionsRestricted weak compositionsGeneralized algorithmsGeneralized compositionsGeneration algorithmsEnumeration algorithmsInteger compositionsWeak integer compositionsEnumerationCombinatoricsComputational number theory