Instantly decompose any positive integer into its unique prime factors according to the Fundamental Theorem of Arithmetic. View factorized form with exponents, prime factor list, and detailed mathematical background.
The Fundamental Theorem of Arithmetic states that every integer greater than 1 is either a prime number itself or can be represented as a unique product of prime numbers, up to the order of the factors. This theorem is the cornerstone of number theory and underpins many modern cryptographic systems, including RSA encryption. Our prime factorization calculator instantly finds the unique prime decomposition using an optimized trial division algorithm.
If \( n > 1 \), then \( n = p_1^{e_1} \times p_2^{e_2} \times \dots \times p_k^{e_k} \)
where \( p_i \) are distinct primes and \( e_i \) are positive integers.
RSA encryption security is based on the fact that multiplying two large primes (each hundreds of digits) is computationally easy, but factoring the resulting product back into its prime factors is extremely hard. The difficulty of prime factorization for semiprime numbers with 2048 bits ensures secure internet communications. While our calculator handles smaller integers, the same mathematical principle demonstrates why factorization is a one-way function for large keys. Leading researchers like Rivest, Shamir, and Adleman leveraged the Fundamental Theorem for modern public-key cryptography.
Using prime factorizations, LCM is obtained by taking the highest exponent of each prime, and GCD by taking the lowest exponent. For example, 12 = 2²×3 and 18 = 2×3² → GCD = 2¹×3¹ = 6, LCM = 2²×3² = 36. This method is taught worldwide in middle and high school mathematics and builds intuition for divisibility rules.
Euclid first proved the existence of infinite primes, but the Fundamental Theorem of Arithmetic was rigorously proved by Carl Friedrich Gauss in his 1801 work "Disquisitiones Arithmeticae". The theorem ensures the uniqueness of prime factorization, which later influenced the development of algebraic number theory. Mathematicians like Leonhard Euler and Bernhard Riemann further expanded prime distribution studies. Our interactive tool honors this legacy by making prime decomposition accessible to everyone.
| Number | Prime Factorization | Number of Prime Factors (with multiplicity) | Distinct Primes |
|---|---|---|---|
| 60 | 2² × 3 × 5 | 4 | 3 |
| 97 | Prime | 1 | 1 |
| 1024 | 2¹⁰ | 10 | 1 |
| 2024 | 2³ × 11 × 23 | 5 | 3 |
| 99991 | Prime (99991) | 1 | 1 |