Generating key points…
Answers are grounded in this paper and cite their sources.
Inserting a new maximum does not destroy old boxed occurrences. This gives an exact recurrence for the boxed-\(12\) distribution asked for after Kitaev, Qiu and Xu's Proposition 8.7, where the count is the strong Bruhat up-degree. It also gives a determinant for the full boxed-\(123\) occurrence polynomial, whose constant term answers their avoidance question in §6.1. To track new boxes, record the entries that have only a few larger entries to their right before insertion. The same information handles joint counts for any fixed family of boxed patterns of length at least two with maximum last. A separate finite-state reduction shows that for fixed up-degree \(k\), the number of permutations of size \(n\) is eventually polynomial in \(n\), of degree \(k\) and leading coefficient \(1/k!\). Let \(h_t(w)\) be the number of right-to-left maxima of the length-\(t\) prefix of \(w\), including \(h_0=0\). Inserting a new maximum at gap \(t\) adds \(h_t(w)\) occurrences of boxed \(12\). Thus at each insertion multiply the prefix-profile weight by \(qh_t\), update to the profile of the new word, and sum weights by resulting profile. Start with weight one at the empty profile. The boxed \(123\) increment instead counts entries in that same prefix with exactly one larger letter to their right within the prefix. A truncated rank record therefore suffices for both distributions. For any given family with maximum last, take matrix \(T\) with rows giving new records, columns old records, and each insertion entry marking every new occurrence. If \(e\) selects the empty record and \(u_N\) all length-\(N\) records, the joint enumerator is \(-\!{pmatrix}I-T&e_NT&0{pmatrix}\). For boxed \(123\) alone one can set its marker to zero for the avoidance count. The eventual polynomial for fixed up-degree \(k\) applies from \(n≥ k(k+3)/2\) and has leading coefficient \(1/k!\).
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: