How is the Riemann Hypothesis related to P vs NP?

1.7k Views Asked by At

Are the Riemann Hypothesis and P vs NP related? It seems that if there is an algorithm to find the distribution of primes without factoring every number would be a polynomial time solution? I am admittedly not a mathematician so this might be a silly question.