Generating key points…
Answers are grounded in this paper and cite their sources.
How many labelings of a complete \(k\)-ary heap increase along every parent edge and avoid a decreasing triple in breadth-first order? The paper gives a uniform exact count for every integer \(k≥2\) and \(n≥1\), with labels \(1,…,n\). Every level except possibly the last is full, and the last is filled from the left. In a \(321\)-avoider, strict excedances and nonexcedances each form an increasing chain. Matching the ranks of each chain in position and value order recovers the permutation. For the \(b\)-th nonexcedance, let \(P_b\) and \(Q_b\) count the earlier excedances in position and value order, respectively, with \(P_0=Q_0=0\). Its position and label are \(b+P_b\) and \(b+Q_b\). Exact chain statuses require \(Q_b≤ Pb-1\). The only parent edge requiring a further rank comparison goes from an excedance of rank \(a\) to a nonexcedance of rank \(b\), and it is legal exactly when \(a≤ Q_b\). The transfer fixes a binary status mask on the first \(m=(n-1)/k\) positions, which are exactly the parent positions, with a nonexcedance root when \(m>0\). At layer \(b\) it places a nonexcedance at \(c=b+P\) of value \(b+Q\), with \(0≤ P,Q≤ n-b\). The transition sums previous counts with \(P'≤ P\), \(Q'≤ Q\), and \(P'≥ Q\), subject to the positional mask. Write \(p(c)=(c-1)/k\) for the parent at \(c>1\), \(A(u)=∑ᵢ₌₁ᵘe_i\) on the fixed mask, and \(z(c)=max(\{0\}∪\{i≤ m:i<c,\ e_i=0\})\). Set \(g(c)=A(p(c))\) if \(c>1\) and the parent bit is one, and \(g(c)=0\) otherwise. The state is zero if \(c≤ m\) and \(e_c=1\), or if \(Q<g(c)\). Otherwise the predecessor rectangle gives \[D_b(P,Q)=∑P'=max(0,Q,z(c)-b+1)^P\ ∑Q'=0^Q Db-1(P',Q'). \] Starting from \(D_0(0,0)=1\) and zero elsewhere, the final count is \[Hk,n(321)=∑_e∑b=1ⁿ∑Q=0ⁿ⁻ᵇD_b(n-b,Q),\] where \(e\) ranges over the admissible parent masks and each state array is computed for that mask. Rectangle sums give \(O(2(n-1)/kn^3)\) arithmetic operations and \(O(n^2)\) working integer entries with \(O(n)\)-bit counts. At fixed \(k\), \(21/k\) is the exponential base of the arithmetic upper bound, while the established growth rate of the counted class is \(4\). For a star, \(n≥2\) and \(k≥ n-1\), the count is \(1n{2n-2}{n-1}\). **Original problems** - Levin, Pudwell, Riehl and Sandberg, §§2.3 and 5. For every \(k≥2\) and \(n≥1\), count the labelings by \(1,…,n\) of the complete left-filled \(k\)-ary heap that increase along each parent edge and avoid classical \(321\) in breadth-first order. The exact rank transfer counts all such labelings for the prescribed shape, with \(O(2(n-1)/kn^3)\) arithmetic operations. It recovers the earlier binary counts through length \(31\) and the Catalan count for stars. Variable shapes and the binary log-convexity question lie outside the result.
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: