Hacker News new | ask | show | jobs
by emil-lp 9 days ago
It's "trivial" to show that Integer Factorization is in NP and also in co-NP.

In NP: given a factor, check it.

In coNP: give prime factorization.

1 comments

It's not known whether factoring is in P.

Nor is it known whether it's NP-complete, which is usually what people intend when they informally speculate whether something "is NP" or "is in NP" (yes I know that's wrong and nearly backwards, but it's still common).

I don't understand what you're trying to say, but yes, IF could be in P, and it could be NP-complete, but in the latter case, it would mean that NP=coNP, which we don't believe.

It's conjectured to be NPI (NP intermediate), but that's only a conjecture.