| | @@ -0,0 +1,147 @@ |
| 1 | +# Small integer hosts for Erdős #530 |
| 2 | + |
| 3 | +Write $s(A)$ for the largest cardinality of a Sidon subset of $A$, where the Sidon condition includes repeated summands. Let $I_N=\{0,\ldots,N-1\}$. Three explicit hosts beat the interval of the same cardinality. The endpoints below are inclusive. |
| 4 | + |
| 5 | +| $N$ | Host $A$ | $s(I_N)$ | $s(A)$ | $s(A)/\sqrt N$ | |
| 6 | +|---|---|---:|---:|---:| |
| 7 | +| 56 | $[0,57]\setminus\{1,2\}$ | 10 | 9 | 1.203 | |
| 8 | +| 86 | $[0,88]\setminus\{43,44,45\}$ | 12 | 11 | 1.186 | |
| 9 | +| 107 | $[0,110]\setminus\{1,4,106,109\}$ | 13 | 12 | 1.160 | |
| 10 | + |
| 11 | +At $N=86$ the host consists of two 43-point intervals separated by three missing integers. At $N=107$ the displayed deletion is the unique four-point deletion from $[0,110]$ that destroys every 13-mark ruler. The three examples give finite upper bounds of 9, 11 and 12 on Erdős's minimum $\ell(N)=\min_{|A|=N}s(A)$. |
| 12 | + |
| 13 | +The largest improvement over an equal-size interval in the survey is **one mark**. For every named host and every recorded swap proposal, the witness lower bound is at least the interval's certified upper bound minus one. The deletion censuses also bound the improvement by one for every host they cover. Thus a saving greater than $N^{1/4}$ is ruled out for these comparisons. The smallest certified upper ratio across the 139 named hosts is $12/\sqrt{107}=1.16008\ldots$. At $N=252$ the smallest maximum among the named hosts is exactly 19. At $N=300$ it lies between 20 and 21. Even at 300 the lower endpoint divided by $\sqrt N$ exceeds 1. The finite ratios fluctuate, especially where the interval first accommodates another mark. An asymptotic constant remains undetermined. |
| 14 | + |
| 15 | +These results are computer-checked finite counts and witness bounds. Phal and Gemini's interval-deletion construction gives an asymptotic upper coefficient below 1. Park proves a lower coefficient $2/(3\sqrt{3})$ for real sets, improving the $1/(3\sqrt{3})$ bound of Bailleul and Riblet. Those papers were consulted in their offline copies. Literature priority for the specific finite hosts remains unchecked beyond those sources. [Phal and Gemini](https://github.com/shubhamphal/erdos-530/blob/42a01f6/paper/erdos_530.tex) · [Park](https://doi.org/10.5281/zenodo.24528338) · [Bailleul and Riblet](https://arxiv.org/abs/2605.03181) |
| 16 | + |
| 17 | +## Best results by size and family |
| 18 | + |
| 19 | +The first table gives the minimum of $s(A)$ among the named hosts in each cell. A range gives the minimum of the witness sizes and the minimum of the certified upper bounds. These bound the family minimum even when different hosts attain the two endpoints. A single number is exact. The second table divides the same integers by $\sqrt N$ and rounds to three decimals. A dash marks an unsampled family. The section on deletion censuses covers the smaller interval jumps. |
| 20 | + |
| 21 | +| Family | 24 | 36 | 56 | 86 | 107 | 128 | 216 | 252 | 300 | |
| 22 | +|---|---|---|---|---|---|---|---|---|---| |
| 23 | +| Interval | 6 | 8 | 10 | 12 | 13 | 14 | 17–18 | 19 | 20–21 | |
| 24 | +| 2D box | 8 | 9 | 11 | — | — | 15–19 | 18–24 | 19–26 | 21–28 | |
| 25 | +| 3D box | 8 | 10 | 12 | — | — | 17–23 | 21–31 | 22–33 | 24–36 | |
| 26 | +| Union of progressions | 7 | 9 | 10 | — | — | 14–16 | 17–20 | 19–22 | 20–23 | |
| 27 | +| Random, 1% deletion | 6 | 8 | 10 | — | — | 14 | 18 | 19–20 | 20–21 | |
| 28 | +| Random, 10% deletion | 7 | 8 | 10 | — | — | 14–15 | 18–19 | 19–20 | 20–22 | |
| 29 | +| Random, 25% deletion | 7 | 9 | 10 | — | — | 14–16 | 19–21 | 20–22 | 22–24 | |
| 30 | +| Random, 50% deletion | 8 | 10 | 12 | — | — | 16–19 | 19–25 | 20–27 | 22–29 | |
| 31 | +| Swap search | 6 | 8 | 10 | — | — | 14–15 | 18–19 | 19–20 | 20–22 | |
| 32 | +| Targeted holes | — | — | 9 | 11 | 12 | — | — | — | — | |
| 33 | +| All surveyed | 6 | 8 | 9 | 11 | 12 | 14 | 17–18 | 19 | 20–21 | |
| 34 | + |
| 35 | +| Family | 24 | 36 | 56 | 86 | 107 | 128 | 216 | 252 | 300 | |
| 36 | +|---|---|---|---|---|---|---|---|---|---| |
| 37 | +| Interval | 1.225 | 1.333 | 1.336 | 1.294 | 1.257 | 1.237 | 1.157–1.225 | 1.197 | 1.155–1.212 | |
| 38 | +| 2D box | 1.633 | 1.500 | 1.470 | — | — | 1.326–1.679 | 1.225–1.633 | 1.197–1.638 | 1.212–1.617 | |
| 39 | +| 3D box | 1.633 | 1.667 | 1.604 | — | — | 1.503–2.033 | 1.429–2.109 | 1.386–2.079 | 1.386–2.078 | |
| 40 | +| Union of progressions | 1.429 | 1.500 | 1.336 | — | — | 1.237–1.414 | 1.157–1.361 | 1.197–1.386 | 1.155–1.328 | |
| 41 | +| Random, 1% deletion | 1.225 | 1.333 | 1.336 | — | — | 1.237 | 1.225 | 1.197–1.260 | 1.155–1.212 | |
| 42 | +| Random, 10% deletion | 1.429 | 1.333 | 1.336 | — | — | 1.237–1.326 | 1.225–1.293 | 1.197–1.260 | 1.155–1.270 | |
| 43 | +| Random, 25% deletion | 1.429 | 1.500 | 1.336 | — | — | 1.237–1.414 | 1.293–1.429 | 1.260–1.386 | 1.270–1.386 | |
| 44 | +| Random, 50% deletion | 1.633 | 1.667 | 1.604 | — | — | 1.414–1.679 | 1.293–1.701 | 1.260–1.701 | 1.270–1.674 | |
| 45 | +| Swap search | 1.225 | 1.333 | 1.336 | — | — | 1.237–1.326 | 1.225–1.293 | 1.197–1.260 | 1.155–1.270 | |
| 46 | +| Targeted holes | — | — | 1.203 | 1.186 | 1.160 | — | — | — | — | |
| 47 | +| All surveyed | 1.225 | 1.333 | 1.203 | 1.186 | 1.160 | 1.237 | 1.157–1.225 | 1.197 | 1.155–1.212 | |
| 48 | + |
| 49 | +## Which deletions beat the interval? |
| 50 | + |
| 51 | +We used every interval jump from four through thirteen marks. The catalogue checks that the shortest $k$-mark ruler has diameter exactly $N-1$ in each row. For an $N$-point host obtained by deleting $h$ points of $[0,N+h-1]$, “exceptional” means its maximum is one below $s(I_N)$. Every other host in that window has maximum $s(I_N)$. The table gives the final tested hole budget. The data also give every smaller budget down to zero. At the three successful sizes the printed budget is the least possible number of holes in this model. |
| 52 | + |
| 53 | +| N | Interval | Holes | Ruler placements | Exceptional hosts / hosts | Minimum | |
| 54 | +|---|---|---|---|---|---| |
| 55 | +| 7 | 4 | 4 | 110 | 0 / 330 | 4 | |
| 56 | +| 12 | 5 | 4 | 320 | 0 / 1,820 | 5 | |
| 57 | +| 18 | 6 | 4 | 504 | 0 / 7,315 | 6 | |
| 58 | +| 26 | 7 | 4 | 760 | 0 / 27,405 | 7 | |
| 59 | +| 35 | 8 | 4 | 540 | 0 / 82,251 | 8 | |
| 60 | +| 45 | 9 | 4 | 230 | 0 / 211,876 | 9 | |
| 61 | +| 56 | 10 | 2 | 6 | 3 / 1,653 | 9 | |
| 62 | +| 73 | 11 | 5 | 482 | 0 / 21,111,090 | 11 | |
| 63 | +| 86 | 12 | 3 | 8 | 7 / 113,564 | 11 | |
| 64 | +| 107 | 13 | 4 | 28 | 1 / 5,989,005 | 12 | |
| 65 | + |
| 66 | +For example, the only successful pairs at $N=56$ are $\{1,2\},\{2,55\},\{55,56\}$. All seven successful triples at $N=86$ are listed in the data. At $N=73$, every one of the 21,111,090 five-hole hosts still contains 11 marks. These frequencies help explain why two uniform samples at a given density can miss an exceptional host. |
| 67 | + |
| 68 | +Explicit lower witnesses for the three exceptional hosts, in the order of the first table, are |
| 69 | + |
| 70 | +```text |
| 71 | +0 6 10 23 26 34 41 53 55 |
| 72 | +0 2 6 24 29 40 55 68 75 76 85 |
| 73 | +0 6 15 33 35 46 63 84 88 100 107 110 |
| 74 | +``` |
| 75 | + |
| 76 | +At $N=56$ the complete catalogue up to diameter 57 consists of $0,1,6,10,23,26,34,41,53,55$ and its reflection about the midpoint of $[0,55]$. For either orientation the translations by one or two lose their first mark to the holes. At translation zero the two orientations contain 1 and 2 respectively. This accounts for all six 10-mark placements. |
| 77 | + |
| 78 | +**Exhaustive upper certificates.** Normalize a $k$-mark ruler by translating its first mark to zero. The native search enumerates the remaining marks in increasing order. At last mark $b$, bit $b-a$ is set in a mask for each selected mark $a$. Moving forward by $g$ shifts this mask by $g$, giving exactly the new positive differences. The extension is legal when these miss all previously used differences. The search tries each legal next mark that can still fit in the diameter. |
| 79 | + |
| 80 | +Two lower bounds on the space required by a branch justify pruning. A subruler of $j$ marks has diameter at least $\binom j2$ since its positive differences are distinct. For at most ten marks the program sharpens this by exhaustive decisions over successive diameters, starting at that bound. It applies the resulting span bounds to contiguous blocks of marks. Also, the remaining adjacent gaps must be distinct unused positive integers. Summing the smallest admissible gaps, even while ignoring used differences above 12, gives a lower bound on the remaining span. The largest catalogue diameter here is 110, within the two-word mask. [Catalogue source](rulers.cpp) |
| 81 | + |
| 82 | +Translate every enumerated shape into the window in all possible ways. The data record the full list of normalized shapes. For each placement the checker tests all one-point extensions, excluding $k+1$ throughout the ambient interval. A hole set destroys every $k$-set exactly when it meets every placement. The generator branches on the points of the first surviving placement. Each feasible deletion must take at least one of those points. When all placements have been hit it fills any unused hole budget in every possible way. For each successful deletion it checks that some placement retains $k-1$ marks. All remaining hosts contain an intact placement. |
| 83 | + |
| 84 | +The verifier also scans the hole combinations directly, using a bit per placement to test coverage, and checks the resulting list against the branching search. It checks the first three native catalogues by an unpruned Python combinations scan. As a separate check, the earlier integer suffix solver returned the following maxima and node counts for the three displayed hosts. [Census and independent coverage check](near.py) · [Integer suffix solver](../other_side/sidon_max.c) |
| 85 | + |
| 86 | +| $N$ | Maximum | Suffix-search nodes | |
| 87 | +|---|---:|---:| |
| 88 | +| 56 | 9 | 2,125,164 | |
| 89 | +| 86 | 11 | 310,459,446 | |
| 90 | +| 107 | 12 | 5,540,231,738 | |
| 91 | + |
| 92 | +## What was sampled |
| 93 | + |
| 94 | +The family comparison uses $N=24,36,56,128,216,252,300$. For each size it contains the interval, one rectangle, one three-dimensional box, two unions of progressions, two uniform fixed-cardinality samples at each of four deletion rates, and one final swap host. The 86- and 107-point rows in the family tables come from the census. Earlier repository experiments solved many interval, random and two-dimensional cases through 81 points. We reuse their solvers and extend the comparison to three dimensions, deliberate deletions, and larger hosts with certified bounds. [Earlier integer survey](../other_side/NOTES.md) · [Earlier cyclic search](../dense/NOTES.md) |
| 95 | + |
| 96 | +- **Boxes.** In increasing order of $N$, the rectangles have dimensions $4\times 6,6\times 6,7\times 8,8\times 16,12\times 18,14\times 18,15\times 20$. The three-dimensional boxes are $2\times 3\times 4,3\times 3\times 4,2\times 4\times 7,4\times 4\times 8,6\times 6\times 6,6\times 6\times 7,5\times 6\times 10$. For side lengths $d_i$ the coordinate strides are $1,(2d_1-1),(2d_1-1)(2d_2-1),\ldots$. Every coordinate of a pair sum lies between 0 and $2d_i-2$, so equality of encoded integer sums is equivalent to coordinatewise equality. |
| 97 | +- **Progressions.** Split at $b=\lfloor N/2\rfloor$. One host consists of the first $b$ consecutive integers from zero and the next $N-b$ integers after a gap of $\lfloor N/3\rfloor$ missing points. The other joins $[0,b-1]$ to $b,b+2,\ldots,b+2(N-b-1)$. |
| 98 | +- **Random deletions.** For nominal deletion rate $p\in\{1,10,25,50\}$ percent, use $M=\lceil 100N/(100-p)\rceil$ and sample exactly $N$ points from $[0,M-1]$. The two seeds are $100000N+100p+r$ for $r=0,1$. The realized density is $N/M$. |
| 99 | +- **Single-point swaps.** Start from $I_N$ inside $[0,M-1]$ with $M=N+\lceil N/12\rceil$ and try 48 swaps. Through $N=56$ remove a point of a current maximum witness, insert a hole, compute the new maximum exactly and accept any nonincrease. At larger sizes score each proposal by the largest intersection with a fixed bank of translated Sidon templates, breaking ties by the counts at that maximum and one below. Remove a point of a maximizing intersection, insert a hole, and accept a lexicographic nonincrease. The bank score is a witness lower bound. Each large proposal also has the recorded common upper bound from $\binom{s(A)}2\le M-1$. The final host gets the full upper- and lower-bound calculations. The data retain every proposed move, including rejected ones, with its exact witness and search node count or its template score. [Host and swap generation](hosts.py) |
| 100 | + |
| 101 | +## Certificates for the family comparisons |
| 102 | + |
| 103 | +Every named host and every lower witness has an explicit sorted list of integers in the result file. The verifier checks membership and all $k(k+1)/2$ unordered sums including doubles. At $N=24,36$ the exhaustive cyclic solver runs with modulus $2D+1$, where $D$ is the host diameter. After subtracting the minimum, all integer pair sums lie in $[0,2D]$, so the cyclic calculation preserves every sum equality. An independent exhaustive integer solver checks these maxima and supplies the exact comparisons at $N=56$. It computes optimal suffix sizes from right to left. Adding the new leftmost point increases the suffix maximum by at most one, so testing that one target suffices. Every exact search row records its node count for replay. [Cyclic branch and bound](../dense/maxsidon.c) · [Integer suffix search](../other_side/sidon_max.c) |
| 104 | + |
| 105 | +For the larger hosts we intersect translated and reflected ordinary rulers with the host. We also apply units and translations to cyclic rulers and select one host representative per occupied template residue. Equal integer sums reduce to equal modular sums, which identify the residue pair. Its representatives determine the original pair. We try 80 shuffled greedy extensions and 240 repairs that remove two to five marks and refill the witness. All stored witnesses are checked directly, including those seeded by previously published ruler coordinates. [Finite-field and ordinary seeds](../../erdos30/b3_slack/constructions.py) · [Additional ruler seeds](../../mgr16/seeds.py) |
| 106 | + |
| 107 | +The upper certificates exclude a single cardinality $k=U+1$. Every larger Sidon subset would contain a $k$-element one. The tests below use integer arithmetic. |
| 108 | + |
| 109 | +1. **Distinct differences.** Write $\Delta_A=\{b-a:a,b\in A,\ b>a\}$. A $k$-mark Sidon set needs $\binom k2$ distinct members of $\Delta_A$. |
| 110 | +2. **Sums of neighboring differences.** For sorted hypothetical marks $x_0<\cdots<x_{k-1}$, collect $x_{i+t}-x_i$ for $1\le t\le j$ and all valid $i$. These $q=jk-j(j+1)/2$ differences are distinct. Their sum is at least the sum of the $q$ smallest members of $\Delta_A$. Telescoping gives the same sum as $\sum_{i=0}^{j-1}(j-i)(x_{k-1-i}-x_i)$. For the sorted host $a_0<\cdots<a_{N-1}$, we have $x_i\ge\max(a_i,a_0+\binom{i+1}{2})$ and $x_{k-1-i}\le\min(a_{N-1-i},a_{N-1}-\binom{i+1}{2})$. The binomial terms use the required span of the first and last $i+1$ marks. A lower sum exceeding this upper sum excludes $k$. The certificate records $j$. |
| 111 | +3. **Overlapping translates.** For a finite set of shifts $T$ with $t=|T|$, two different translates of a Sidon set meet in at most one point, by uniqueness of the difference of the shifts. The total of $\binom{r_z}{2}$, over multiplicities $r_z$ in the translates, is at most $\binom t2$. Write $m=|A+T|$ and $kt=qm+r$ with $0\le r<m$. Balancing multiplicities gives the minimum $m\binom q2+rq$. If it exceeds $\binom t2$, the recorded shifts exclude $k$. The verifier constructs $A+T$ explicitly. [Upper-bound implementation](certificates.py) |
| 112 | + |
| 113 | +At $N=252$, test $k=20$ and $j=4$ in the neighboring-differences certificate. The $q=70$ differences have sum at least $1+\cdots+70=2485$. The endpoint upper bound is $4(251)+3(249)+2(245)+239=2480$. The stored 19-mark witness fits inside $[0,246]$, giving $s(I_{252})=19$. |
| 114 | + |
| 115 | +## Additional interval checks |
| 116 | + |
| 117 | +The calibration intervals between jumps have the following witness and upper bounds. All coordinates and the inequality excluding the next mark appear in the data. |
| 118 | + |
| 119 | +| Interval maximum | Additional sizes N | |
| 120 | +|---|---| |
| 121 | +| 14–15 | 150, 152 | |
| 122 | +| 15–16 | 160 | |
| 123 | +| 16–17 | 178, 180, 184, 198 | |
| 124 | +| 17–18 | 200, 204, 208 | |
| 125 | +| 18 | 217, 220, 224 | |
| 126 | +| 18–19 | 240, 246 | |
| 127 | +| 19 | 247 | |
| 128 | +| 19–20 | 256, 270, 280 | |
| 129 | +| 20–21 | 284, 285, 288 | |
| 130 | + |
| 131 | +## Reproduce offline |
| 132 | + |
| 133 | +Run from `experiments/erdos530/small-sets` with Python 3.10 or later, NumPy for the existing seed constructors, and GCC or Clang with 128-bit integer support. The runs used CPython 3.12.3, NumPy 1.26.4 and GCC 13.3. The runner builds the native searches in a temporary directory. The data contain 139 named hosts at 38 sizes, including 71 with matching lower and upper bounds. [Full certificates and swap traces](results.jsonl) · [Runner](run.py) |
| 134 | + |
| 135 | +```sh |
| 136 | +python3 run.py verify --size 86 |
| 137 | +python3 run.py table |
| 138 | +python3 run.py verify |
| 139 | +python3 run.py generate > /tmp/erdos530-small-sets.jsonl |
| 140 | +cmp results.jsonl /tmp/erdos530-small-sets.jsonl |
| 141 | +``` |
| 142 | + |
| 143 | +The first command checks both 86-point hosts and every three-hole choice. The full verification also scans all 29,232,411 hole choices across the listed windows and checks the results of all 336 swap proposals. Add `--cross` to rerun the independent integer suffix searches on the interval-beating hosts. The slowest optional search, at $N=107$, took about seven minutes on the test machine. |
| 144 | + |
| 145 | +```sh |
| 146 | +python3 run.py verify --size 56 86 107 --cross |
| 147 | +``` |