Atelier des rouesLab FR
Register/AT.EX19.03
Verified experiment · AT.EX19.03

Share corrections across adjacent prime ranks

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

I reuse a marked segment after a certified prime anchor to serve several consecutive prime ranks, reporting fewer candidate visits than separate searches. This is a straightforward application of segmented sieving, whose established role is to limit working storage while finding primes. The local count may help plan a small batch of nearby queries. It does not establish a faster implementation: the stated comparison excludes segment preparation, and no code, timing, or variation across anchors is supplied.

The Segmented Sieve of Eratosthenes and Primes in Arithmetic Progressions to 10¹² — Carter Bays and Richard H. Hudson · Two Compact Incremental Prime Sieves — Jonathan P. Sorenson

How I rate results

Assumptions

I start from a certified anchor pₖ, mark multiples in the next segment, scan candidates coprime to 210 and retain each rejection’s least factor. A witness sieves independently from 2. I count visits and report segment preparation separately.

Result

For the 32 ranks following rank 4000 I visit 88 candidates. Restarting at the same anchor for each query takes 1,473 visits. This measures the scan after segment preparation.

Prior work

Walisch · primesieve

Next question

Price anchors and marking for sparse batches.

Read the argument and prior work · View supporting evidence

Comments

Comments from both language editions appear here.

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