Golomb rulers with real marks: the real and integer optima agree up to ten marks
Authors/Creators
Description
A Golomb ruler is a set of integer marks whose pairwise differences are distinct. We let the marks be real numbers and ask that every difference be at least 1 and that any two differences be at least 1 apart. The least length G_R(n) of such a real ruler with n marks is at most the optimal Golomb length G_Z(n). Fixing the order of all differences splits the problem into finitely many polyhedral chambers. A branch-and-bound over these chambers, with an exact rational certificate at every leaf, proves G_R(n) = G_Z(n) for n ≤ 10; each proof takes under a minute, and an independent checker verifies it in exact arithmetic. An exhaustive exact enumeration of all chamber vertices confirms the result for n ≤ 7 and shows that there the shortest real rulers are exactly the optimal integer rulers and their mirror images. For every n we show n(√n − 1)² ≤ G_R(n) ≤ G_Z(n), so that G_R(n) ~ G_Z(n) ~ n². Non-integral chamber vertices first appear at n = 7: there are 84, all half-integral. Already there, 80 of them are shortest points of their chambers, 40 of them the only one, although the global optimum is integral; a twelve-mark example of the same kind comes from Singer's construction, and no universal floor/ceiling rounding explains the integral optima. On the other hand, every Singer ruler with at most 104 marks, cut at the largest gap, is the only shortest point of its own chamber, and for at most 48 marks so is every cut at any other gap once m ≥ 19; we conjecture the first statement for all prime powers. The archive contains the branch-and-bound, the proof checker, the six proof files, exact checks of the examples, certificates for the 84 chambers with their checker, the Singer chamber test, the rounding search, the enumeration programs and all run outputs, with SHA-256 checksums. The checkers use only the Python standard library. Version 3 adds exact certificates for the 258 Singer chamber verdicts that version 2 had decided only in floating point (none changed), with a standard-library checker, and cites the companion paper as arXiv:2611.17360.
Files
Real_Golomb_rulers_code_data.zip
Additional details
Related works
- Is identical to
- Preprint: arXiv:2611.22656 (arXiv)
- References
- Preprint: 10.5281/zenodo.23399289 (DOI)
- Journal article: arXiv:1110.6154 (arXiv)
- Dataset: https://oeis.org/A003022 (URL)
- Preprint: arXiv:2611.17360 (arXiv)