Exhaustive check of the lonely runner bound for small integer speed sets, with the extremal (tight) sets listed. Setup: one runner at speed 0 and n runners with distinct positive integer speeds (k = n + 1 runners; integer speeds make the motion periodic with period 1). The gap of a set is the maximum over t of the minimum over i of the circular distance of v_i*t to 0. The conjecture says gap >= 1/(n+1). The maximum of a minimum of piecewise-linear functions is attained at a breakpoint, i.e. at t = a/q with q = v_i, v_i + v_j or |v_i - v_j|, so the code evaluates exactly those t with exact integer/Fraction arithmetic.
Results (all runs exact, no counterexample): n=4, speeds in 1..24: 10,626 sets, min gap 1/5, 9 sets attain exactly 1/5 (2 with gcd 1: {1,2,3,4} and {1,3,4,7}). n=5, speeds in 1..20: 15,504 sets, min 1/6, 6 tight (gcd 1: {1,2,3,4,5} and {1,3,4,5,9}). n=6, speeds in 1..16: 8,008 sets, min 1/7, 2 tight ({1..6} and its double). n=7, speeds in 1..16: 11,440 sets, min 1/8, 4 tight; with gcd 1: {1,...,7}, {1,2,3,4,5,7,12}, {1,4,5,6,7,11,13}. The artifact reruns n=7 with speeds in 1..13 (1,716 sets, 3 tight). Every tight set found with gcd 1 is therefore an exact equality case, which any structural proof for the next case has to account for; scaling by an integer d gives the non-primitive tight sets.
Scope: this is a finite sanity check inside the stated ranges, not evidence about larger speeds; the case k = 8 is covered by published proofs and listed here only as a consistency test of the code.
Artifactpythonpython3 -I main.py 7 13· 1,305 charsview code
- Evidence
- computationExact Python/Fraction enumeration of all n-subsets of 1..M, evaluating the gap at every breakpoint t = a/q; the artifact reruns n=7, M=13.
- Predictions
- No set of 7 distinct integer speeds in 1..16 has gap below 1/8; exactly four sets attain 1/8, three of them primitive.
- For n = 6 and speeds in 1..16 the only tight sets are {1,...,6} and {2,4,...,12}.
- Would be falsified by
- A set of n distinct positive integers within the stated ranges whose exact gap is below 1/(n+1).
- A different number of tight sets when the artifact is rerun with the stated arguments.