Remix.run Logo
▲ articulatepang 42 minutes ago

I agree, I was just responding to the narrow question of whether factorization is in NP. To talk about that you have to phrase it as a decision problem, eg, “Does N have a prime factor between 2 and k?” To be in NP, a “yes” response should come with a certificate that’s checkable in polynomial time. So the certificate here would a prime factor. We can check in polynomial time that it’s a divisor, and that it’s prime. But also yes I agree that simply exhibiting ANY factor under shows that N has a prime factor under k, so PRIMES being in P isn’t required for factorization to be in NP.