Editorial research note / Prime numbers under a resource gate
Short windows: a published long-interval sieve does not pay at 4,096 cells
- 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
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.
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
~816x
Same variant against Miller-Rabin (working note)
Source & quoted measure
MR7 scans the same window in ~0.72ms = ~816x under k40's 587ms
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
Directly scanning it is one extension choice, not a lower bound on other short-window algorithms.
Helfgott's modular divisor lister on short prime windows · excerpt
02 / Working note: the prime-pattern challenge
the grid was chosen AFTER the one-run screen, so the best-scale row is EXPLORATORY/descriptive, not a precommitted held-out tuning result.
Working note: the prime-pattern challenge · excerpt