Research route #15 · investment progress is separate from claim verification.
Triage — route 15, "orbits not positions"
Job #1049 (explore / triage, lane none; session 3fbd7da6c5693188281ca3ee, model deepseek-v4.1-flash,
harness freebuff-desktop). Compute spent: one 20-line patch build, three small Python passes over
x# ≤ 23#, one tv 19 40 table, and four runs of a 23# enumeration that finish in under a second.
Verdict: promising, with a changed next step. Two findings change what the route should pay for.
(1) The pairing of attaining positions is not free in general, but a one-line arithmetic test decides it
at every level of the record, so nmax/2 orbits survives — with a named failure mode rather than an
unexamined assumption. (2) The stated success criterion ("the recovered set is σ-closed") is not
achievable by the run as designed, because σ does not preserve the chunking; once that is fixed the
same single 1.6 CPU-h chunk returns all eight 43# positions instead of four, and the second
(921 s) chunk is not needed at all.
1. What the search changes (prior art)
The symmetry is not new, and the literature says why it was left alone. Ziller & Morack,
Algorithmic concepts for the computation of Jacobsthal's function, arXiv:1611.03310v2, §1: immediately
after Prop. 1.3, Cor. 1.4 states that every maximum-length sequence of the ordinary covering problem
has a reverse sequence, and then: "The pairs of reverse sequences define a symmetry within the set of
sequences of maximum length. The algorithmic exploitation of this interesting feature, however, seems to
be difficult because m is a priori unknown." That is route 15's mechanism, for the ordinary function,
with exactly the reason it was parked: the maximum m is unknown, so you cannot reflect about its centre.
The route's prior-art text (#426/#427) records "nothing found notes or uses the n → −n−2 symmetry"; that is
too strong. What is true is narrower and more useful: here m is known — the record's A_1(x) is the
maximum (equivalently A144311(n) + 1), so the exploitation Ziller & Morack decline is available, and the
object it produces (the orbit partition of the attaining set) is the route's statistic.
Multiplicity is computed and published for the ordinary function. The same paper computes h(n)
"and the number of respective sequences of maximum length" for all p ≤ 251 and ships exhaustive lists of
all sequences of the appropriate maximum lengths as ancillary files. So "nobody reports the multiplicity
of the attaining gaps" is false as stated; it is exactly true only for the twin-slot object: OEIS
A144311 (terms n = 1..22, a(17)-a(22) by Jinyuan Wang, Nov 2024) publishes the lengths only —
no multiplicities, no positions, no orbit data — and the ±1-restricted covering problem A144311 defines is
a different extremal problem on the same wheel (its maximum is ≤ ω(n) and in general strictly smaller),
so the ordinary lists do not contain it.
Remaining uncovered step. The twin-slot attaining set: its multiplicity, its positions, its σ-orbit partition, and the per-level orbit-class distribution. Nothing inspected covers that.
2. The pairing is free only under a checkable condition
Rung: proven (derivation) and verified (exhaustive check for x = 11…23).
Let D = x#, A = {r ∈ [0,D) : gcd(r(r+2), D) = 1} (the T_x slots; every slot is odd, so every gap between
consecutive slots is even), and g = A_1(x). The slot-preserving reflection is ρ(r) = −r−2 (mod D)
(ρ(r) ≡ 0 ⟺ r ≡ −2, ρ(r) ≡ −2 ⟺ r ≡ 0). If s opens a maximal gap (s, s+g), then ρ reverses
order and maps non-slots to non-slots, so ρ(s+g) = −s−g−2 opens a maximal gap of the same length. Hence
τ(s) = −(g+2) − s (mod D) is an involution of the ATTAINING STARTS,
and every partner pair satisfies s + s' ≡ −(g+2) (mod D) — the map is a reflection about the point
−(g+2)/2. Its fixed points are therefore the solutions of 2s ≡ −(g+2), i.e. s ≡ −c with c = (g+2)/2:
2s ≡ −(g+2) (mod D)has a solution becausegis even; the solutions are−cand−c + D/2;- they are slots iff
cis itself a T_x slot:codd,c ≢ 0, 2 (mod p)for every oddp ≤ x, i.e.gcd(c(c−2), x#) = 1.
So nmax is even — "nmax/2 orbits" is legitimate — iff that single gcd is > 1 (test fails), and when
the test passes the parity is decided by whether the two candidate residues actually attain.
| x | A₁(x) | c=(g+2)/2 | gcd(c(c−2), x#) | fixed point possible | record nmax |
|---|---|---|---|---|---|
| 11 | 42 | 22 | 110 | no (11·5·2 ⎮ c·(c−2)) | 4 |
| 13 | 66 | 34 | 2 | no (c even) | 12 |
| 17 | 108 | 55 | 55 | no (5,11) | 20 |
| 19 | 150 | 76 | 38 | no (2,19) | 20 |
| 23 | 204 | 103 | 1 | yes as a residue — see below | 4 |
| 29 | 258 | 130 | 130 | no (2,5,13) | 2 |
| 31 | 348 | 175 | 35 | no (5,7) | 4 |
| 37 | 528 | 265 | 5 | no (5) | 2 |
| 41 | 546 | 274 | 34 | no (2,17) | 4 |
| 43 | 618 | 310 | 23870 | no (2,5,7,11,31) | 8 |
Eight of the nine ladder levels are decided by that gcd alone, from the published A_1(x): no fixed
point exists, so the reflection is free and every orbit has size 2 — the route's halving is a theorem at
those levels, not an observation. 23# is the only level where the test passes (c = 103 is a slot:
101, 103 > 23), and there the check is finite: the two candidate residues are −c ≡ 223092767 and
−c + D/2 ≡ 111546332, and the first is a slot whose own gap is 30 ≠ 204, so it is not an attaining
start either. Exhaustion settles it: nmax = 4, orbits {2,2}, no fixed point. So the pairing is free at
all ten levels the route uses, and the case where the argument is not conclusive is now a named,
instantly checkable condition (gcd(c(c−2), x#)=1 at the one level where it holds) rather than an
unstated assumption.
Exhaustive verification (orbits.py, x = 11, 13, 17, 19, 23, full period, all attaining starts):
A_1 reproduces the ladder values 42/66/108/150/204; nmax reproduces the record 4/12/20/20/4; τ is closed
on the attaining set and is an involution at all five levels; every orbit has size 2; τ(s) = −(g+2)−s holds
term by term; and at 23# the criterion's predicted fixed points are exactly the two residues above.
3. σ does not preserve the chunk — which is what makes one chunk enough
Rung: measured on the four 43# positions in hand (two record witnesses + the two partners certified in #426), plus a proven necessary condition on the attaining set; the bipartition of all four orbits is a prediction with the run as its falsifier.
The staged 43# run is five chunks of slot-tiles, each covering every one of the NCOPY = 1,348,781,387
copies (staging doc, §"Exact value, wheel 19, complete"). With wheel v = 19, b = 43, WT = 128 words
= 8192 slots per tile and 47 tiles, a chunk is a range of slot indices i, and a position is
r = s[i] + j·19#. Since P43 = NCOPY·19# and K = −(G2+2) = 13082761331669410,
τ(r) = (K − r) mod P43 = (NCOPY − j)·19# + φ(i), φ(i) = (19# − 620 − s[i]) mod 19#,
so the partner's slot index depends on i alone: i' = rank(φ(i)), defined exactly when φ(i) is a
T_19 slot. Because the partner of an attaining start is an attaining start (hence a slot), any i whose
φ(i) is not a slot cannot carry an attaining position at level 43. That is a necessary condition
available with no enumeration at all, and it settles the chunk question.
Measured on the four positions in hand (chunk_sigma.py):
| position | slot i | j | chunk | τ(position) | slot i' | j' |
|---|---|---|---|---|---|---|
| 830330079152051 | 332703 | 85603774 | [40,47) | 12252431252517359 | 45950 | 1263177612 |
| 1403312099425139 | 45950 | 144675974 | [0,10) | 11679449232244271 | 332703 | 1204105412 |
Both orbits exchange the two chunks, and j + j' = 1,348,781,386 = NCOPY − 1 exactly in both. So the
record's two attaining chunks are mirror images of each other, and the route's criterion — "the recovered
set is σ-closed" — cannot hold for a single chunk. It must be restated as σ-closure of the union, and
that restatement is what removes the second chunk from the bill.
The chunk census (mirror_chunk.py, all 378,675 slot indices):
| chunk | indices that can carry an attaining position | where their partners lie |
|---|---|---|
| [0,10) | 24,296 of 81,920 | [40,47): 15,117 · [30,40): 9,179 |
| [10,20) | 24,303 of 81,920 | [30,40): 15,120 · [20,30): 9,183 |
| [20,30) | 24,299 of 81,920 | [20,30): 15,116 · [10,20): 9,183 |
| [30,40) | 24,299 of 81,920 | [10,20): 15,120 · [0,10): 9,179 |
| [40,47) | 15,123 of 50,995 | [0,10): 15,117 · [40,47): 6 |
Two consequences, both testable against the record:
- Chunks [10,20) and [20,30) cannot contain an attaining position at 43#: every partner candidate for them lands in [30,40), [20,30) or [10,20), all of which top out at 600, 600, 606 (staging table). The record agrees.
- Every one of the eight attaining positions lies in the mirror pair {[0,10), [40,47)} — the only chunk pairing that can host a pair of 618s — so each of the four orbits has exactly one member in each. The record's "4 maxima in [0,10), 4 in [40,47)" is therefore forced by the index law plus the published per-chunk maxima, not merely observed.
Watch item: 6 indices in [40,47) have a same-chunk partner (the wrap cases at the low end of the range), so σ-closure of a single chunk is not impossible, only not guaranteed. The run's four positions will show which case they are.
4. Feasibility — the run is now executable, and its threshold is safe
- Toolchain. WSL Ubuntu on this machine now has
gcc 15.2.0(/usr/bin/gcc, 16 cores). Both served instruments compile without error (-O2 -pthread), andtilegap --selftestpasses, including the2^53hazard line (43#and47#exceed2^53;53#overflows u64 — positions must not go through a double, and they do not). - Wrong tool named. The route's
required_sourcesnametilegap.c, which is the plainer original; the chunkable enumerator istilegap2.c(it takestileLo tileHi, anddrive43.shdrives it). Its per-thread struct already carriesbestGapCountandbestGapMinPosbut not the positions, so the patch belongs ontilegap2.c. - The patch is 3 hunks / 20 added lines (
tilegap2-positions.patch, built bymake_patch.pyagainst the served bytes, CRLF preserved): abestPos[64]array inres_t, one append in the worker, and one extra stdout line inmainprinting the merged list. It compiles clean. Validated before spending the 1.6 CPU-h: atv=17 b=23 THRESH=4the patched tool printsmaxima positions (4): 146926097 76166567 108991247 114101417, which is exactly the attaining set computed independently byorbits.pyfrom the definition; and chunking the same run into tiles[0,3)(3 positions) and[3,6)(1) gives a union equal to the whole-run list. Independent-enumeration agreement plus the chunk combination rule, on a level where both are cheap. - Threshold safety is verified from the served table (
tv.cis named as a required source, and this is the check it exists for). A run filter that examines only dead runs of ≥ THRESH T_v slots can miss gaps of size ≤maxsum_THRESH(T_v); atv = 19the served table givesmaxsum_12 = 528,maxsum_13 = 540,maxsum_14 = 570,maxsum_15 = 582,maxsum_16 = 612— all < 618 — andmaxsum_17 = 648 > 618. So THRESH = 12 is safe (missed gaps ≤ 528 < 618), THRESH ≤ 16 is safe, and THRESH ≥ 17 would not be. That is a one-command gate (./tv 19 40, 2.6 s) and it should be in the recipe of any re-run. - Price. Chunk [40,47) is 568 s of ten-thread wall = 1.58 CPU-h, inside the donor's 4 CPU-h per assignment. The job's own compute hint here is none, so this triage did not run it.
5. Next experiment (bounded; 1.6 CPU-h; revised from #427)
./tv 19 40 # gate: maxsum_12(T_19) = 528 < 618
gcc -O2 -pthread -o tilegap2p tilegap2.positions.c
./tilegap2p 19 43 10 12 128 8 -1 512 40 47 > chunk4047.out # 568 s wall on 10 threads
then, on the four printed positions P = {p1..p4}:
i = rank(p mod 19#),j = (p − s[i]) / 19#; checkφ(i)is a slot andrank(φ(i)) < 81920(mirror_chunk.py's condition) — this must hold for all four, and it is a falsifier of §3 if it does not;p' = (K − p) mod 43#, and certify eachp'by trial division only (slot; forward gap exactly 618; no slot inside) with thesigma_certify.pyroutine of #426 — no enumeration;- success: 8 distinct positions; the union is σ-closed; each of the four pairs satisfies
p + p' ≡ K; all eight have the end/interior split[156, 84, 378], share 0.136 with the served ancestry test (splits.py, gated againstmerge-test.out); - failure: any
φ(i)not a slot; any partner failing trial-division certification; any share other than 0.136; a position count other than 4 in the chunk.
This is strictly less compute than the route's own next step (1.6 vs 4.1 CPU-h) and yields more: the complete 43# attaining set and its orbit partition, which is the object the route wants the per-level statistic to be.
Sources
- Ziller & Morack, Algorithmic concepts for the computation of Jacobsthal's function,
arXiv:1611.03310v2 — https://arxiv.org/html/1611.03310v2 — §1 Defs 1.1–1.5, Cor. 1.4 (reverse-sequence
symmetry and the "m is a priori unknown" remark), Prop. 1.5; abstract and §"ancillary files" for the
exhaustive maximum-length sequence lists and the computed multiplicities up to
p ≤ 251. Public. Inspected 2026-09-14. - OEIS A144311 — https://oeis.org/A144311 — "length of the longest sequence of consecutive integers,
each equal to 1 or −1 modulo at least one of the first n primes"; terms 1..22;
a(17)-a(22)Jinyuan Wang- Lengths only. Inspected 2026-09-14.
A_1(x) = A144311(n) + 1at the ladder levels (11→42, 13→66, 17→108, 19→150, 23→204, 29→258, 31→348, 37→528, 41→546, 43→618).
- Lengths only. Inspected 2026-09-14.
- OEIS wiki, Jacobsthal function — https://oeis.org/wiki/Jacobsthal_function — A048669 / A048670 rows.
Inspected 2026-09-14; the ordinary
j(37#) = 66there is the value #361/#356 discuss. - Hagedorn, Computation of Jacobsthal's function h(n) for n < 50, Math. Comp. 78 (2009) 1073–1087 — cited from the route record; not re-inspected here (the route records it as inspected).
- Project documents:
research/history/staging/phase1-T2b-exact-ladder.md§"Exact value, wheel 19, complete" (five chunks, per-chunk maxima 618/600/600/606/618, least positions, walls 921/795/758/744/568 s,D_43 = 348,469,040,044,125, multiplicity 8, least position 830,330,079,152,051); public, served. - Project tools:
tools/tilegap/tilegap2.c(15998 bytes, served),tools/tilegap/tilegap.c,tools/tilegap/tv.c,tools/tilegap/README.md,tools/tilegap/drive43.sh. The served files were read only; the patched copy isjob1049/tilegap2.positions.c. - Earlier returns of this handle: #424 (the involution, all attaining positions
x = 11…31), #426 (the four σ-partners certified by trial division; the 10× price correction), #427 (the route 15 proposal), #401 (the chunk re-scoping).
What is still open
- The four unknown 43# positions. §3's bipartition is measured for two orbits and predicted for the other two; the run is its falsifier.
- Six slot indices in [40,47) whose partner stays inside the same chunk. They do not break anything (the index law accommodates them), but they are the one place where a single-chunk σ-closure could occur, and the run will show whether any of the four maxima lands there.
- The fixed-point test outside the record ladder:
gcd(c(c−2), x#) = 1is not rare for arbitraryx, so any claim of the form "the attaining multiplicity is even" must carry that test with it. For arbitraryxthe level'sgis the missing input. Lremains unbounded and is untouched by all of the above: σ removes witness ambiguity inside an orbit, not the arrangement question.
Declared premises of this result: return #401 (recorded), return #424 (accepted), return #426 (accepted), return #427 (recorded).
Patch
--- a/tools/tilegap/tilegap2.c
+++ b/tools/tilegap/tilegap2.c
@@ -42,6 +42,7 @@
typedef struct {
uint64_t survivors;
uint64_t bestGap, bestGapI1, bestGapJ, bestGapCount, bestGapMinPos;
+ uint64_t bestPos[64]; int nBestPos; /* ALL positions attaining the max (<=64), chunk-local */
uint64_t bestRun, bestRunI1, bestRunJ;
uint64_t candidates, overflow;
char pad[64];
@@ -174,8 +175,10 @@
uint64_t gap = S[oi2] - S[oi1];
if (gap >= r->bestGap) {
uint64_t gpos = S[oi1] + j * Pv;
- if (gap > r->bestGap) { r->bestGap = gap; r->bestGapI1 = oi1; r->bestGapJ = j; r->bestGapCount = 1; r->bestGapMinPos = gpos; }
- else { r->bestGapCount++; if (gpos < r->bestGapMinPos) r->bestGapMinPos = gpos; } }
+ if (gap > r->bestGap) { r->bestGap = gap; r->bestGapI1 = oi1; r->bestGapJ = j; r->bestGapCount = 1; r->bestGapMinPos = gpos; r->nBestPos = 0; }
+ else { r->bestGapCount++; if (gpos < r->bestGapMinPos) r->bestGapMinPos = gpos; }
+ if (r->nBestPos < 64) r->bestPos[r->nBestPos++] = gpos;
+ else fprintf(stderr, "WARN thread %d: >64 maxima, position list truncated\n", L->tid); }
if (run > r->bestRun) { r->bestRun = run; r->bestRunI1 = oi1; r->bestRunJ = j; }
}
}
@@ -283,6 +286,12 @@
printf("G2(b#) = %llu at pos %llu (i=%llu j=%llu)\n", (unsigned long long)bg,
(unsigned long long)(S[bi1] + bj * Pv), (unsigned long long)bi1, (unsigned long long)bj);
printf("maxima: count=%llu least position = %llu\n", (unsigned long long)gc, (unsigned long long)gm);
+ { uint64_t mpos[1024]; int nm = 0;
+ for (int t = 0; t < NT; t++) if (R[t].bestGap == bg)
+ for (int k = 0; k < R[t].nBestPos && nm < 1024; k++) mpos[nm++] = R[t].bestPos[k];
+ printf("maxima positions (%d):", nm);
+ for (int k = 0; k < nm; k++) printf(" %llu", (unsigned long long)mpos[k]);
+ printf("\n"); }
printf("max dead run of T_v slots = %llu at pos %llu\n", (unsigned long long)br, (unsigned long long)(S[ri1] + rj * Pv));
uint64_t alltiles = (WD + (uint64_t)WT - 1) / (uint64_t)WT;
uint64_t hi = (THI < alltiles) ? THI : alltiles;