To further generalize, an "A"-restricted composition of an integer "n", for a subset "A" of the (nonnegative or positive) integers, is an ordered collection of one or more elements in "A" whose sum is "n".