Number theory Finite fields and computational number theory Problem
Integer factorization
Builds on Composite numberPrime factorizationPrime numberExistence of prime factorizationRSA cryptosystemFundamental theorem of arithmeticAKS primality test
Problem
Given a composite number , written in binary, find integers and with and . Repeating this step gives the prime factorization of . The open question is whether there is a classical algorithm that does this in a number of bit operations bounded by a polynomial in .
Remarks
The prime factorization exists and is unique by the existence of prime factorization and the fundamental theorem of arithmetic, so the problem is about the cost of finding it. Trial division by all integers up to always works, but it needs about steps, which is exponential in the number of digits. No polynomial-time classical algorithm is known. The fastest known general method for large numbers is the general number field sieve, whose heuristic running time is The decision version, which asks whether has a factor with for a given , lies in both NP and co-NP. For this reason it is not expected to be NP-complete, but this is not proved. On a quantum computer, Shor's algorithm factors in polynomial time. Deciding whether is prime is easier: the AKS primality test does it in deterministic polynomial time, without finding any factor.
Reading path
To understand this page from the ground up, read these 32 pages in order. The foundations come first.
Show the path as a graph
- no evidence level
- Composite number concept
- Divisibility definition
- Euler's totient function concept
- Group concept
- Modular exponentiation concept
- Multiplicative order concept
- Polynomial ring concept
- Prime factorization concept
- Prime number concept
- Quotient ring concept
- Congruence modulo n definition
- Greatest common divisor definition
- Prime number definition
- Ring definition
- Modular multiplicative inverse definition
- Coprime integers definition
- Fermat's little theorem statement
- Euclid's lemma statement
- Existence of a prime divisor statement
- Primality test concept
- Prime factorization definition
- Characteristic of a ring definition
- Commutative ring definition
- Euler's totient function definition
- Miller–Rabin primality test concept
- Existence of prime factorization statement
- Freshman's dream statement
- Euler's theorem statement
- Fundamental theorem of arithmetic statement
- AKS primality test statement
- RSA cryptosystem example
- Integer factorization problem
Further reading
About this page
| Tag | YPE65X5HJ4 |
|---|---|
| URI | m2://YPE65X5HJ4 |
| Kind | problem |
| Writing | W0 stub |
| MSC | 11Y05, 11A51, 68Q25 |
| Status | This copy of the site has no build data. Run m2 status YPE65X5HJ4. |
| About | Prime factorization |
| Uses | Composite number, Prime factorization, Prime number, Existence of prime factorization, RSA cryptosystem, Fundamental theorem of arithmetic, AKS primality test |
| Same as | |
| Changed | 2 November 2026 |
Markdown · JSON · Edit on GitHub
What this page needs for W1
- a source with a locator (0 of 1)
The writing levels say how complete the text of a page is. They do not measure its truth.
What links here
No page links to this page yet.