| | @@ -0,0 +1,175 @@ |
| 1 | +# Cyclic Sidon sets missing one pair of differences |
| 2 | + |
| 3 | +Let \(n=k(k-1)+3\). A near-perfect set \(D\subseteq\mathbb Z_n\) has \(k\) |
| 4 | +elements and its ordered nonzero differences run through every nonzero |
| 5 | +residue except \(\pm d\) exactly once. Equivalently, at these parameters it |
| 6 | +is a modular Golomb ruler. Indeed, with no repeated ordered differences, |
| 7 | +there are exactly two missing residues, and negation exchanges them because |
| 8 | +\(n\) is odd. |
| 9 | + |
| 10 | +## Exhaustive computation |
| 11 | + |
| 12 | +The search finds sets at \(k=3,4,5\) and none at \(6\le k\le11\). This |
| 13 | +independently reproduces the corresponding existence entries of |
| 14 | +[Buratti and Stinson, Theorem 2.3](https://arxiv.org/abs/2007.01908). |
| 15 | +The two degenerate positive sizes \(k=1,2\) also have examples. |
| 16 | + |
| 17 | +| \(k\) | \(n\) | normalized \(d\) | witness | |
| 18 | +| --- | --- | --- | --- | |
| 19 | +| 1 | 3 | 1 | \(0\) | |
| 20 | +| 2 | 5 | 1 | \(0,2\) | |
| 21 | +| 3 | 9 | 1 | \(0,2,5\) | |
| 22 | +| 4 | 15 | 1 | \(0,2,5,9\) | |
| 23 | +| 4 | 15 | 3 | \(0,1,5,7\) | |
| 24 | +| 4 | 15 | 5 | \(0,1,3,7\) | |
| 25 | +| 5 | 23 | 1 | \(0,2,6,15,18\) | |
| 26 | + |
| 27 | +The table lists one witness for each successful normalized missing pair. |
| 28 | +The log also counts all sets under the normalization below. |
| 29 | + |
| 30 | +**Completeness of the search.** Write \(g=\gcd(d,n)\). Multiplication by a |
| 31 | +unit modulo \(n\) takes \(d\) to \(g\). In detail, \(d/g\) is invertible |
| 32 | +modulo \(n/g\), and its inverse can be lifted to a unit modulo \(n\). |
| 33 | +Choose the lift to be \(1\) modulo each prime dividing \(n\) but absent |
| 34 | +from \(n/g\), using the Chinese remainder theorem. The search therefore |
| 35 | +covers every possible missing pair by testing each proper divisor \(g\) |
| 36 | +of \(n\), including \(1\). |
| 37 | + |
| 38 | +With \(g\) fixed and \(k\ge2\), set \(e=2\) if \(g=1\) and \(e=1\) |
| 39 | +otherwise. The ordered difference \(e\) is present, so translation of |
| 40 | +its unique ordered pair gives a set containing \(0,e\). Start at those |
| 41 | +marks and take all possible additional marks in increasing order. |
| 42 | +For each unordered pair of marks, the mask records its undirected |
| 43 | +distance \(\min(|a-b|,n-|a-b|)\). This represents the two ordered |
| 44 | +differences \(\pm(a-b)\). The bit for \(g\) starts occupied. Adding a mark |
| 45 | +fails exactly when it makes a forbidden or repeated distance among |
| 46 | +the chosen marks. A failed candidate cannot become valid as more |
| 47 | +marks are added. A branch with too few remaining candidates also |
| 48 | +cannot reach \(k\). These two tests preserve every possible completion. |
| 49 | +At size \(k\) the distinct distances fill every bit other than the |
| 50 | +reserved one, by counting. For \(k=1\), the singleton \(\{0\}\) suffices. |
| 51 | + |
| 52 | +**Independent check.** The Python verifier enumerates every size-\(k\) |
| 53 | +subset containing \(0\) for \(1\le k\le6\) with plain combinations. |
| 54 | +It tests directed residues directly and determines the missing pair |
| 55 | +after completing a subset. If \(k\ge 2\), for each literal missing pair |
| 56 | +the unique ordered pair of difference \(e\) gives one anchored set per |
| 57 | +translation orbit. The action on these sets is free because a translation |
| 58 | +preserving the set must fix that unique ordered pair. There are exactly |
| 59 | +\(k\) translates per orbit containing \(0\), one for each mark sent to |
| 60 | +\(0\). The same orbit count for \(k=1\) holds directly. Unit multiplication |
| 61 | +gives equal counts for each literal missing pair with gcd \(g\). The |
| 62 | +verifier compares the counts grouped by gcd using these factors. It |
| 63 | +also checks every logged witness and verifies that every \((k,g)\) |
| 64 | +case through \(k=11\) appears in the search log. |
| 65 | + |
| 66 | +Reproduce both logs offline from the repository root. |
| 67 | + |
| 68 | +```sh |
| 69 | +c++ -std=c++17 -O3 -Wall -Wextra -Wpedantic experiments/nearperfect/search.cpp -o /tmp/nearperfect |
| 70 | +/tmp/nearperfect > /tmp/nearperfect.log |
| 71 | +diff -u experiments/nearperfect/search.log /tmp/nearperfect.log |
| 72 | +python3 experiments/nearperfect/verify.py > /tmp/nearperfect-verify.log |
| 73 | +diff -u experiments/nearperfect/verify.log /tmp/nearperfect-verify.log |
| 74 | +``` |
| 75 | + |
| 76 | +## A prime-divisor obstruction |
| 77 | + |
| 78 | +The following is a paper proof. Write \(v_p\) for the \(p\)-adic |
| 79 | +valuation. For an odd prime \(m\) let \(h=(m-1)/2\) and define |
| 80 | +\[ |
| 81 | + S_0(T)=2,\qquad S_1(T)=T,\qquad S_{i+1}(T)=T S_i(T)-S_{i-1}(T), |
| 82 | + \qquad F_m(T)=1+\sum_{i=1}^{h} S_i(T). |
| 83 | +\] |
| 84 | +Suppose \(D\) is near-perfect with \(k\ge6\). For any odd prime \(m\mid n\) |
| 85 | +and prime \(p\equiv-1\bmod m\), the following valuations must be even |
| 86 | +whenever the argument is nonzero. |
| 87 | + |
| 88 | +- If \(m\mid d\), then \(v_p(k-3)\) is even. |
| 89 | +- If \(m\nmid d\), then \(v_p(F_m(k-1))\) is even. |
| 90 | + |
| 91 | +**Proof.** Put \(A(Z)=\sum_{a\in D} Z^a\) using the representatives |
| 92 | +\(0,\dots,n-1\). The difference count gives the identity |
| 93 | +\[ |
| 94 | + A(Z) A(Z^{-1})=k-1+\sum_{j=0}^{n-1}Z^j-Z^d-Z^{-d}\pmod{Z^n-1}. |
| 95 | +\] |
| 96 | +The recurrence gives \(S_i(X+X^{-1})=X^i+X^{-i}\) by induction, hence |
| 97 | +\(\Phi_m(X)=X^h F_m(X+X^{-1})\), where |
| 98 | +\(\Phi_m(X)=1+X+\cdots+X^{m-1}\). |
| 99 | + |
| 100 | +In \(\mathbb F_{p^2}\) there is an element \(u\) of order \(m\) by |
| 101 | +cyclicity of the multiplicative group and \(m\mid p+1\). Its conjugate |
| 102 | +\(u^p\) is \(u^{-1}\), so \(t_0=u+u^{-1}\) lies in \(\mathbb F_p\). |
| 103 | +The \(m-1\) primitive roots give \(h\) distinct traces. Two roots of |
| 104 | +unity with the same trace must be a root and its inverse, as both |
| 105 | +satisfy \(X^2-t_0 X+1=0\). Thus \(F_m\) has \(h\) distinct roots in |
| 106 | +\(\mathbb F_p\), all simple because it is monic of degree \(h\). |
| 107 | + |
| 108 | +In the case \(m\mid d\), choose any such trace \(t_0\). For \(m\nmid d\), |
| 109 | +if \(v_p(F_m(k-1))>0\), choose \(t_0=k-1\bmod p\). Let \(v\) denote |
| 110 | +the positive valuation in the relevant case and take \(r=v+1\). Lift |
| 111 | +\(t_0\) to a root \(t\) of \(F_m\) modulo \(p^r\). At every step from |
| 112 | +\(p^i\) to \(p^{i+1}\), replacing a lift \(b\) by \(b+jp^i\) changes |
| 113 | +\(F_m(b)\) by \(jp^i F_m'(b)\) modulo \(p^{i+1}\). The derivative is |
| 114 | +invertible modulo \(p\), so one choice of \(j\bmod p\) gives a root |
| 115 | +at the next modulus. |
| 116 | + |
| 117 | +Work in \(R=(\mathbb Z/p^r)[X]/(X^2-tX+1)\), with \(x\) the image of |
| 118 | +\(X\). Its reduction modulo \(p\) is a field. In fact the two roots |
| 119 | +modulo \(p\) have order \(m\), while \(\mathbb F_p^\times\) has order |
| 120 | +\(p-1\), coprime to \(m\). The element \(x\) is a unit with |
| 121 | +\(x+x^{-1}=t\). The displayed identity for \(\Phi_m\) gives |
| 122 | +\(\Phi_m(x)=0\), so \(x^m=1\). The map \(x\mapsto x^{-1}\) defines an |
| 123 | +involution fixing scalars since \(x^{-1}\) satisfies the same quadratic. |
| 124 | +Write it as \(\alpha\mapsto\bar\alpha\). |
| 125 | + |
| 126 | +When \(m\mid d\), evaluate the difference identity at \(Z=x\). |
| 127 | +When \(m\nmid d\), take \(Z=x^a\) for \(ad\equiv1\bmod m\). |
| 128 | +In both cases \(Z^n=1\) and \(Z-1\) is a unit because it is nonzero |
| 129 | +in the field \(R/pR\) and \(pR\) is nilpotent. Thus the geometric |
| 130 | +sum vanishes. For \(\alpha=A(Z)\), the identity gives |
| 131 | +\(\alpha\bar\alpha=k-3\) in the first case and |
| 132 | +\(\alpha\bar\alpha=k-1-t\) in the second. In the second case, the |
| 133 | +factorization |
| 134 | +\[ |
| 135 | + F_m(k-1)-F_m(t)=(k-1-t)Q |
| 136 | +\] |
| 137 | +has \(Q=F_m'(t_0)\bmod p\), a unit. Thus \(k-1-t\) has exact |
| 138 | +divisibility \(p^v\) in \(R\), as does \(k-3\) in the first case. |
| 139 | + |
| 140 | +Since \(R\) is free over \(\mathbb Z/p^r\) on \(1,x\), every nonzero |
| 141 | +\(\alpha\) of exact divisibility \(p^s\) can be written \(p^s\beta\) |
| 142 | +with \(\beta\) nonzero modulo \(p\). Then |
| 143 | +\(\beta\bar\beta\) is nonzero modulo \(p\) because \(R/pR\) is a |
| 144 | +field and the involution descends to it. Therefore a nonzero product |
| 145 | +\(\alpha\bar\alpha\) has exact divisibility \(p^{2s}\). The evaluated |
| 146 | +product above is nonzero and has exact divisibility \(p^v\), proving |
| 147 | +that \(v\) is even. Valuation zero already satisfies the assertion. |
| 148 | + |
| 149 | +### Consequences |
| 150 | + |
| 151 | +- For \(k\equiv18\) or \(58\bmod 300\), \(3\mid n\). |
| 152 | + If \(3\nmid d\), use \(F_3(k-1)=k\) and \(v_2(k)=1\). |
| 153 | + If \(3\mid d\), use \(v_5(k-3)=1\). Both primes are \(2\bmod3\). |
| 154 | + Hence no missing pair is possible in either progression. |
| 155 | +- If \(k\equiv2\bmod15\), \(k\equiv5\bmod361\), and |
| 156 | + \(k\equiv32\bmod841\), then \(5\mid n\) and \(3\nmid n\). |
| 157 | + If \(5\nmid d\), use \(F_5(k-1)=k^2-k-1\equiv19\bmod19^2\). |
| 158 | + If \(5\mid d\), use \(k-3\equiv29\bmod29^2\). |
| 159 | + Both primes are \(4\bmod5\). The three moduli are pairwise coprime, |
| 160 | + so this excludes another infinite progression for every missing pair. |
| 161 | +- For \(k=26\), the modulus \(n=653\) is prime. |
| 162 | + With \(m=653\), \(p=15671=24m-1\) is prime and the recurrence gives |
| 163 | + \(F_{653}(25)\equiv225p\bmod p^2\). |
| 164 | + The verifier checks the two primality claims by trial division and |
| 165 | + the modular residue by the displayed recurrence. Every nonzero |
| 166 | + \(d\) is in the case \(m\nmid d\), so the odd valuation excludes it. |
| 167 | + |
| 168 | +The paper proof and the computed certificate at \(k=26\) have no Lean |
| 169 | +formalization here. For \(k\ge12\), this work excludes any \((k,d)\) |
| 170 | +with an odd valuation in the applicable clause for some \(m,p\). |
| 171 | +The remaining cases are the \(k\ge12\) and missing pairs \(\pm d\) |
| 172 | +for which no such obstruction has been established. This includes |
| 173 | +prime-modulus cases beyond the finite search for which we found no |
| 174 | +certificate, such as \(k=20\), \(n=383\). A uniform exclusion for |
| 175 | +\(k\ge6\) remains open in this work. |