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