Papers › An algorithm and computation to verify Legendre's Conjecture up to 3.33·10¹³

An algorithm and computation to verify Legendre's Conjecture up to 3.33·10¹³

24 Jan 2024arXiv:2401.13753links table onlyarchive 2025-07-28

Jonathan Sorenson, Jonathan Webster

The archive published only this paper's code-link row. Authors, date and abstract are from arXiv's metadata (CC0), read from the Kaggle arXiv metadata snapshot of 2026-09-12 where its title matched the archive's; the title is the archive's.

We state a general purpose algorithm for quickly finding primes in evenly divided sub-intervals. Legendre's conjecture claims that for every positive integer n, there exists a prime between n² and (n+1)². Oppermann's conjecture subsumes Legendre's conjecture by claiming there are primes between n² and n(n+1) and also between n(n+1) and (n+1)². Using Cram\'er's conjecture as the basis for a heuristic run-time analysis, we show that our algorithm can verify Oppermann's conjecture, and hence also Legendre's conjecture, for all n≤N in time O( N logN loglogN) and space N^(O(1/loglogN)). We implemented a parallel version of our algorithm and improved the empirical verification of Oppermann's conjecture from the previous N = 2·10⁹ up to N = 3.33·10¹³, so we were finding $27$ digit primes. The computation ran for about half a year on four Intel Xeon Phi $7210$ processors using a total of $256$ cores.

PaperPDFCode

Code

sorenson64/olc officialmentioned in paper report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

Not run by Syntology. Nothing on this page verifies that the listed code works.

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections