Skip to content

Editorial research note / Prime numbers under a resource gate

Short windows: a published long-interval sieve does not pay at 4,096 cells

2026-10-02 · Git commit date of the probe document · negative

Question
Does Helfgott's improved sieve, which is near-linear for long intervals, help on short windows far below its threshold?
Result
No in the measured rows: the short-window extension was slower than direct divisor marking in the three Python rows. Later variants with a larger block radius were the first to beat direct marking at high N (1e18 direct 1417 vs k40 587 = 2.4x, in ms) but stayed about 816x slower than Miller-Rabin. Sparse prime location is open only in this short-window regime, because the published theorem already covers long intervals.
Limits
One extension choice of a published method, not a lower bound for other short-window algorithms. The best-scale row was chosen after a one-run screen, so it is exploratory and descriptive.
Next question
Can a candidate generator prune enough false alarms that its total primitive count falls below the direct marker's?
4,096-cell window

Window size

Source & quoted measure
For a 4,096-cell window

Helfgott's modular divisor lister on short prime windows

three Python rows

Rows where the extension was slower than direct marking

Source & quoted measure
It is slower than direct divisor marking in the three Python rows below.

Helfgott's modular divisor lister on short prime windows

1e18 direct 1417 vs k40 587 = 2.4x

Larger-radius variant vs direct marking near 1e18 (working note)

Source & quoted measure
1e18 direct 1417 vs k40 587 = 2.4x

Working note: the prime-pattern challenge

~816x

Same variant against Miller-Rabin (working note)

Source & quoted measure
MR7 scans the same window in ~0.72ms = ~816x under k40's 587ms

Working note: the prime-pattern challenge

Provenance

What the retained source says.

The guide above is editorial. The passages below are source quotations. A fingerprint identifies the retained source bytes; it does not establish the scientific claim by itself. Availability is stated for each source.

01 / Helfgott's modular divisor lister on short prime windows

Selected source passage; full source not published

Directly scanning it is one extension choice, not a lower bound on other short-window algorithms.

Source fingerprint · SHA-256 eb6eae6a1c5f27ac44e844dca8d3a11a43ffb79ae442f95201808f7f5c5f595b · 15,489 bytes

Helfgott's modular divisor lister on short prime windows · excerpt

02 / Working note: the prime-pattern challenge

Selected source passage; full source not published

the grid was chosen AFTER the one-run screen, so the best-scale row is EXPLORATORY/descriptive, not a precommitted held-out tuning result.

Source fingerprint · SHA-256 0dd8371429e7fc28efa7058196e3f08df24a252ef6325c2eab5a07edb615e3f4 · 83,008 bytes

Working note: the prime-pattern challenge · excerpt

Research direction: Anthony Michael Collado.
Original credits remain with each source. Source passages, editorial guides and unreviewed source-index notes are distinguished in the research record.