In this note, we provide a combinatorial proof of a recent formula for the total number of peaks and valleys (either strict or weak) within the set of all compositions of a positive integer into a fixed number of parts.
1970-2025 CP (Manitoba, Canada) unless otherwise stated.