Generating key points…
Answers are grounded in this paper and cite their sources.
Peak-restricted Dyck paths admit compact encodings that retain the number of peaks. If every peak is at height \(m\) or \(m+1\), with \(m≥1\) and semilength \(n≥ m\), the encoding is a generalized bicolored composition \(c\) of \(n-m\). Its peak count is \(1+(c)-r_a(c)\), where \((c)\) is the part count and \(r_a(c)\) counts maximal nonempty runs of designated-color unit parts. At \(n=m\) the empty composition represents the single mountain. Baril, Flórez and Ramírez, Open Problem 5.1 When all peak heights belong to one residue \(i\) modulo three, the bijection goes to peakless Motzkin words. The image has length \(n\) and no ground horizontal in residue zero. In residues one and two its length is \(n-1\) for nonempty inputs, and only residue one allows an empty image. In a Motzkin word, parse each level as a list of horizontal steps and first-return arches. Write \(e(L)\) for the number of empty pieces after cutting list \(L\) at its horizontals. For a nonempty list set \(b(L)=e(L)-1\) if it begins with a horizontal, \(e(L)+1\) if it begins with an arch followed by a horizontal or the end, and \(e(L)\) if its first two atoms are arches. If \(I(M)\) sums \(b(L)\) over all arch interiors and \(L_0\) is the ground list, the Dyck peak count is \(I(M)\), \(I(M)+e(L_0)\), or \(I(M)+b(L_0)\) in residues zero, one, and two respectively. Baril, Flórez and Ramírez, Open Problem 5.2
No takes yet. Share an insight, caveat, or question.
Zixuan He (2026) studied this question.
Synapse has enriched 8 closely related papers on similar clinical questions. Consider them for comparative context: