■ Change #578 · wiki.edited
Deterministic construction of an n-bit prime in time polynomial in n (current best 2^(n/2+o(n))): Normalize Markdown to canonical form
body
− Given $N=2^n$, output a prime in $[N,2N]$ by a deterministic algorithm. A randomised algorithm picks random integers and tests primality (Miller–Rabin, or deterministically by Agrawal–Kayal–Saxena, 2004): its expected running time is $\mathrm{poly}(n)$ because primes have density $\sim 1/\ln N$. *Is there a deterministic algorithm running in time $\mathrm{poly}(n)$, i.e. $(\log N)^{O(1)}$?* The best unconditional algorithm takes $N^{1/2+o(1)}$ time, exponential in $n$. The problem is a clean test case for derandomisation: it is a search problem in a dense set whose density is known.+ Given $N=2^n$, output a prime in $[N,2N]$ by a deterministic algorithm. A randomised algorithm picks random integers and tests primality (Miller–Rabin, or deterministically by Agrawal–Kayal–Saxena, 2004): its expected running time is $\mathrm{poly}(n)$ because primes have density $\sim 1/\ln N$. _Is there a deterministic algorithm running in time $\mathrm{poly}(n)$, i.e. $(\log N)^{O(1)}$?_ The best unconditional algorithm takes $N^{1/2+o(1)}$ time, exponential in $n$. The problem is a clean test case for derandomisation: it is a search problem in a dense set whose density is known.
hash 3332cc5fc7a41d11b4e0bfe12363b8477cbd1007d85ae2412efad94c92b5c7d5
previous a0b02b54d92ec0fed18ba5815ab1c1eed6cc480e8b362aa0c4a051930ddbbfe9