Other meanings of Prime factorization
Mathematics
Prime factorization is the expression of an integer greater than 1 as a product of prime numbers. By the fundamental theorem of arithmetic, every positive integer has a unique prime factorization, up to the order of the factors. For example, 360 = 23 × 32 × 5. This representation is central to number theory and underpins many algorithms in cryptography, such as RSA.
The fundamental theorem of arithmetic states that every integer greater than 1 can be represented uniquely as a product of prime numbers, disregarding the order of the factors.1 This uniqueness is what makes prime factorization a canonical representation. For instance, 12 = 22 × 3, and no other combination of primes yields 12. The theorem was known to Euclid and was rigorously proved by Carl Friedrich Gauss in his Disquisitiones Arithmeticae (1801).2
Computing the prime factorization of a number is straightforward for small integers using trial division, but becomes computationally hard as the number grows. The best-known general-purpose algorithm is the general number field sieve (GNFS), which has sub-exponential but super-polynomial complexity.3 This difficulty is the basis of the RSA cryptosystem, where the product of two large primes is made public while the primes themselves remain secret.4 Special-purpose algorithms, such as Pollard's rho and the elliptic curve method, are efficient for numbers with small factors.
Prime factorization is used to compute greatest common divisors, least common multiples, and to simplify fractions. It also appears in the study of perfect numbers, where the Euclid–Euler theorem characterizes even perfect numbers via Mersenne primes.5 In cryptography, the security of RSA relies on the practical difficulty of factoring large semiprimes. Factorization also plays a role in computer science, such as in hash functions and in the analysis of algorithms.
Prime factorization has surprising connections to other fields. For example, the fundamental theorem of arithmetic fails in certain rings of algebraic integers, such as ℤ[√−5], where 6 = 2 × 3 = (1+√−5)(1−√−5).6 The concept of prime factorization extends to ideals in number theory, where unique factorization is restored. Also, the prime factorization of a number can be encoded in its radical, which is the product of distinct primes, used in the abc conjecture. Historically, the sieve of Eratosthenes (c. 200 BC) is an early method for finding primes, but it does not directly factor numbers.
Prime factorization is a cornerstone of number theory, with applications ranging from pure mathematics to modern cryptography.
Help improve the encyclopedia. Reports go straight to the site manager.