Remix.run Logo
▲ incognito124 3 hours ago

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.

▲inkysigma 7 minutes ago | parent [-]

Suppose you had the ability to get the kth prime in constant time. The number of primes below x is roughly x/log(x) by PNT so for b bits it’s 2^b/log(2^b) = 2^b / b. Thus you would have to check exponentially many divisors. You can reduce this by only checking up to sqrt(x) but this would still be exponential in the number of bits.

Naively, this is why if GRH doesn’t lead immediately to factoring in P, the proposal doesn’t work without significantly more ideas to improve the factoring.