logoalt Hacker News

emil-lp • yesterday at 7:53 AM • 1 reply • view on HN

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.


Replies

sfink • yesterday at 9:06 AM

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).

➕ show 1 reply