Counting rises, levels and drops in compositions
Authors/Creators
- 1. Department of Mathematics, California State University Los Angeles, Los Angeles, CA 90032, USA
- 2. Department of Mathematics, Haifa University, 31905 Haifa, Israel
Description
A composition of n ∈ N is an ordered collection of one or more positive integers whose sum is n. The number of summands is called the number of parts of the composition. A palindromic composition of n is a composition of n in which the summands are the same in the given or in reverse order. In this paper we study the generating function for the number of compositions (respectively, palindromic compositions) of n with m parts in a given set A ⊆ N with respect to the number of rises, levels, and drops, and obtain previously known results as well as new results. We also generalize results for Carlitz compositions and for partitions.