Generating key points…
Answers are grounded in this paper and cite their sources.
For a single greedy stack forbidding three consecutive increasing entries from top to bottom, how many inputs of a fixed length can share one output? The stack pushes the pending entry when legal, or pops the top entry and retries when blocked, and flushes after the input ends. Let \(F(π)\) be the number of preimages of \(π∈ S_n\), and let \(M_n=maxπ∈ S_nF(π)\). With \(φ=(1+√5)/2\), the paper proves \[M_n=Θ\!(φ^n/√ n), limn→∞M_n1/n=φ. \] Writing \(L_N=max0≤≤ N/2{N-}{}\) for integers \(N≥0\), it gives \(M_n≥ Lₙ₋₂\) for \(n≥2\) and, for an absolute \(K>0\), \[M_n≤ 1+320Lₙ₋₂+K((39/25)^n+n(4/3)^n)(n≥40). \] The result gives the sharp order of growth, including its polynomial factor. An exact fibre calculation splits the output after \(j\) premature pops, for \(0≤ j≤ n-1\). The suffix must avoid consecutive \(123\). Reverse it to get the survivor word \(s\), and list its descents in order. A descent \(s_i>sᵢ₊₁\) supplies the open interval \((sᵢ₊₁,s_i)\). The split count \(F_j(π)\) is the number of ordered divisions of the prefix into one contiguous block per interval, allowing empty blocks. Each nonempty block must decrease and lie entirely in its interval. With no slots only an empty prefix is admissible, and an illegal suffix gives zero. The full count is \(F(π)=∑ⱼ₌₀ⁿ⁻¹F_j(π)\). If \(a_j\) and \(d_j\) count suffix and prefix ascents, respectively, then for \(j>0\) and a legal suffix, \[F_j(π)≤{j+a_j-1-d_j}{j}, a_j≤(n-j)/2, \] with the bound read as zero when \(a_j≤ d_j\). Each prefix ascent forces an interval change. Charging for these changes controls the sum over splits, while an alternating high–low final stack realizes the lower bound within one output. Defant and Zheng, §8, second table, 123 row. For the single greedy stack that forbids fully consecutive top-to-bottom \(123\), estimate the maximum number \(M_n\) of input permutations of length \(n\) that produce the same output of length \(n\), and determine its exponential growth rate. The paper proves \(M_n=Θ(φ^n/√ n)\) and the ordinary root limit \(φ=(1+√5)/2\). It supplies a lower bound for every \(n≥2\), an upper estimate for \(n≥40\), and an exact count for any prescribed output. The maximum estimates establish the sharp growth scale without identifying an exact maximizer or a limiting multiplicative constant.
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: