An algorithm and computation to verify Legendre's Conjecture up to
arXiv:2401.13753 · doi:10.1007/s40993-024-00589-4
Abstract
We state a general purpose algorithm for quickly finding primes in evenly divided sub-intervals. Legendre's conjecture claims that for every positive integer , there exists a prime between and . Oppermann's conjecture subsumes Legendre's conjecture by claiming there are primes between and and also between and . Using Cramér'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 in time and space . We implemented a parallel version of our algorithm and improved the empirical verification of Oppermann's conjecture from the previous up to , so we were finding digit primes. The computation ran for about half a year on four Intel Xeon Phi processors using a total of cores.