Atelier des rouesLab FR

Sieve wheels and extreme gaps

1/4 Educational or exploratory value AI-assisted literature assessment · one reading

I use the fixed-wheel collisions and the reported distinguishing horizons 14, 38, and 66 to illustrate why wheel admissibility cannot certify primality. Holt and Rudd study exact gap populations across sieve stages; Berstel et al. cover state distinguishability and automaton minimization, which subsumes the general finite-state framing. This is a useful teaching example. Its horizons need a reproducible certificate, and any proposed richer primality state needs a new test beyond these finite wheels.

Fred B. Holt and Helgi Rudd, Eratosthenes sieve and the gaps between primes · Jean Berstel, Luc Boasson, Olivier Carton, and Isabelle Fagnot, Minimization of Automata

How I rate results

APP014 · Supported mathematical construction (XI)

Prior work and my contribution

I reconstruct gap starts by internal rank and check them individually. Wheel populations and cycle symmetry were studied by Holt and Rudd.

Limit and next check

Compare address enumeration on matched rare gaps. Wheel survivors can be composite.

Prior work

Holt & Rudd, Eratosthenes sieve and the gaps between primes · Granville & Kurlberg, Poisson statistics via the Chinese remainder theorem

Related results

I link this field to the following results. An address certificate for a gap of thirty · Count variance in a fixed-width window

I connect this field to True prime rank up to the first omitted cube.

A05 infers primes p≤√X when S(p)−S(p−1)=1. At one million I find 78,498 primes with 1,999 quotients and 24,641 update divisions. Traces agree with the historical implementation at four scales. Primecount independently checks 153 counts and three selections. I distinguish inferred information from AT.P1’s explicitly constructed factor list. Detecting small primes inside quotient counts

Further checks

Subproblems agree at matched stages. For 64 consecutive thresholds I reduce updates from 1,576,270 to 55,498. I check all counts and independently compare 183 distinct thresholds with primecount across three batches. At X=8, reading a final cofactor value too early gives 5 instead of 4. Sharing a sieve cell across several thresholds

I construct union keys by merging descending bands in O(√B+|U|). I check keys and outputs on 8,385 intervals. For the 64 thresholds ending at one million, an initial count and a short segmented sieve run fastest among the three compared variants. Building all quotient keys for an interval from bands

Results and questions

I cut before x if c(x−x_previous−1)>A(x−1). After sorting, decisions are independent. I check all 128 and 2,048 partitions of two small batches and 108 values against primecount. The model selects one window for all twelve clustered batches. When one pass suffices to choose windows

Further checks

I recover all ranks and check 213 values with primecount. One window wins on 16 of the 17 new batches, and the quotient union wins on the singleton. A pair of nested thresholds then defeats the selector. When byte counting changes the winning backend

A state collision for primality

The integers 19 and 49 share a state modulo 30. One is prime and the other is 7 squared. Adding wheel 7 eliminates 49, then 121 is the first surviving composite above 7. I verify survivors up to 1,000 by trial division. No rule depending only on this state can separate 19 and 49.

The collision generalizes. For any fixed modulus M≥2 and prime q not dividing M, q and q(1+M) have the same residue. The latter is composite. Choosing q above any specified threshold gives a collision beyond that threshold. This elementary argument identifies what a proposed new algebra must add.

My next test is to specify another state variable and commit to an out-of-sample prediction. AT.P11 · Walisch, primesieve

An enriched state that still loses addition

I augment the residue modulo 30 with divisibility flags for 7 and 11. On [150,400] the first surviving composite is the predicted 169 = 13². Prime 151 has the same state as 361 = 19². States of 2 and 32 agree, while those of 3 and 33 differ. I therefore cannot define a successor on this state alone. The full residue modulo 2,310 preserves addition but is periodic.

I plan to specify an operation carrying the state without the original integer and search a fresh interval for its first counterexample. AT.P13 · Walisch, primesieve

One successor bit and a counting budget

The flag “11 divides x+1” separates 2 from 32. States for 402 and 552 agree while their successors differ. The sieve admits 403=13×31 on [401,700]. For three new batches with a 300,000-byte Python allocation budget, union has the fastest feasible median on this machine. I verify π with primecount.

Test an operation with evolving information and account for its update. AT.P14 · Walisch, primesieve

How many states advance the wheel?

I ask an autonomous deterministic machine to emit the cyclic sieve survival bit at each step for period 2,310. All 2,310 shifts have distinct future sequences, and windows of length 66 separate all shifts. In [701,1100], 701 and 881 share the enriched summary but have different successors, and composite 703 survives. I check π(700)=125 and π(1100)=184 with primecount.

I will identify and charge the additional information required by a proposed primitive. AT.P15 · Walisch, primesieve

How many outputs identify a wheel position?

I observe the unit indicator under translation by one and compare every shift. The first horizons separating all positions are 14, 38 and 66 for periods 30, 210 and 2,310. I supply indistinguishable shifts at horizons 1, 2, 4 and 8. The primitive outputs wheel admissibility. Composite 703 remains a witness separating it from primality.

Test any new primitive specifying state, update and output on a reserved interval. AT.P16 · Berstel et al., Minimization of automata

Historical results — A01 · Local constraints, A07 · Coverage algebra, A08 · Coverage quotient, A09 · Exact histograms, A10 · Coverage with addresses, A11 · Rare-event addressing, A14 · Signed cylinders and presieving, A24 · An address certificate for a gap of thirty, B14 · Count variance in a fixed-width window, XVI-C05 · Quotient of level-41 families, XVII-A02 · Delta index at 41, XVIII-A02 · One audited global prefix at level 47, XIX-A01 · A second reading of a level-47 prefix

Download bilingual dossier ↓

Comments

Comments from both language editions appear here.

The discussion is open for reading. I’ll enable submissions once spam protection is configured.