An algorithm and computation to verify Legendre's Conjecture up to 3.33·1013

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 n, there exists a prime between n2 and (n+1)2. Oppermann's conjecture subsumes Legendre's conjecture by claiming there are primes between n2 and n(n+1) and also between n(n+1) and (n+1)2. 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 N N) and space NO(1/ N). We implemented a parallel version of our algorithm and improved the empirical verification of Oppermann's conjecture from the previous N = 2· 109 up to N = 3.33· 1013, 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.

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…