Remix.run Logo
▲ scythmic_waves 4 hours ago

(Software engineer with a BS in math. Happy to be corrected too!)

I don't think so. The best-known algorithmic consequence of GRH is that it makes the deterministic version of Miller–Rabin (the Miller test) provably correct [1]. That result isn't even ground-breaking: we've had a deterministic polynomial-time primality test since 2002 [2]. But more the the point, primality tests don't help with factoring. They only tell you whether N is prime or composite. But if N turns out to be composite, primality tests don't tell you _which_ primes divide N. No known factoring algorithm reaches polynomial time even assuming GRH.

If you're trying to understand what RH is about, here's a rough analogy. Treat the number of primes below N as if it were a random quantity that follows a bell curve. We've known for a long time what the mean (middle) of the bell is: roughly N/ln(N) [3]. What we didn't know was what the variance (width) of the bell is. RH says the bell curve is as narrow as it can possibly be: roughly √N times a log factor.

Unfortunately, I don't think I can make the above analogy more precise without introducing a lot more mathematics.

[1]: https://en.wikipedia.org/wiki/Miller%E2%80%93Rabin_primality...

[2]: https://en.wikipedia.org/wiki/AKS_primality_test

[3]: https://en.wikipedia.org/wiki/Prime_number_theorem

▲incognito124 3 hours ago | parent [-]

Hi, thanks for your response! It was informative.

I actually imagined something more-or-less opposite of what you suggested. What I originally had in mind is that GRH helped with a closed form expression for all primes, like f(1)=2, f(2)=3 etc. This would allow you to generate potential candidates for n and e quickly, which you could then presumably also test quickly.