Lower Bounds for Sorting 16, 17, and 18 Elements
Florian Stober, Armin Wei{\ss}

TL;DR
This paper determines the exact minimum comparison counts for sorting 16, 17, and 18 elements, filling a long-standing gap and disproving a previous conjecture, using exhaustive computer search and novel algorithms.
Contribution
It provides the exact comparison bounds for sorting 16-18 elements, resolving open questions and introducing new algorithmic techniques for such problems.
Findings
S(16)=46 comparisons
S(17)=50 comparisons
S(18)=54 comparisons
Abstract
It is a long-standing open question to determine the minimum number of comparisons that suffice to sort an array of elements. Indeed, before this work has been known only for with the exception for , , and . In this work, we fill that gap by proving that sorting , , and elements requires , , and comparisons respectively. This fully determines for these values and disproves a conjecture by Knuth that . Moreover, we show that for sorting elements at least 99 comparisons are needed. We obtain our result via an exhaustive computer search which extends previous work by Wells (1965) and Peczarski (2002, 2004, 2007, 2012). Our progress is both based on advances in hardware and on novel algorithmic ideas such as applying a bidirectional search to this problem.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
Topicsgraph theory and CDMA systems · Algorithms and Data Compression · Coding theory and cryptography
