计算机科学 > 计算复杂性
[提交于 2026年11月30日]
标题:Shellsort on Random Interleavings of Sorted Chains Optimal Divisibility Tables and Unrestricted Bounds
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Let the input be uniform among the permutations increasing in each of $a$ residue classes, each containing $m$ keys, where $a\ge2$ is fixed and $n=am$. We count comparisons from this given partially sorted input; a new gap table may start above $a$. Among all decreasing tables whose successive gaps divide their predecessors, the minimum expected cost is $(\beta_a/2)n\ln m+O_a(n)$, where $\beta_a$ is an explicit integer optimization involving the Janson--Knuth coefficient. Powers of a single optimal quotient attain this bound even when competitors may vary every quotient. For $a=2$, the unique optimal quotient within this divisibility model is $7$, giving coefficient $13/(14\ln7)$. We characterize tables within $O(n)$ of the optimum, prove that every exact minimizer starts at the square-root scale, and analyze constraints on the first gap. Without divisibility, the optimal order remains $\Theta_a(n\log m)$. For two chains we prove that the unrestricted leading coefficient exists, characterize it as an infimum over finite odd-gap blocks, and exhibit a block strictly improving on the divisibility optimum. Its exact numerical value and attainment by a finite block remain open. A shortest-path formulation computes the exact divisibility optimum at finite lengths.
提交历史
来自:Wei Pang Xubu[v1] 2026年11月30日 星期一 00:26:16 UTC (26 KB)