Prime Factorization: worked example
| Value | 360 |
|---|---|
| Distinct prime factors | 3 |
| Largest prime factor | 5 |
| Prime factorization | 2^3 × 3^2 × 5 |
Prime Factorization: formula
Enter an integer from 2 through 1,000,000,000. This bound keeps trial division responsive. Inputs outside that range are rejected rather than silently rounded or replaced with the limit.
The complete factorization uses prime powers and multiplication signs; the other results report distinct-factor count and largest prime.
Prime Factorization: changing Value
| Value | Distinct prime factors | Largest prime factor | Prime factorization |
|---|---|---|---|
| 288 | 2 | 3 | 2^5 × 3^2 |
| 324 | 2 | 3 | 2^2 × 3^4 |
| 360 (example) | 3 | 5 | 2^3 × 3^2 × 5 |
| 396 | 3 | 11 | 2^2 × 3^2 × 11 |
| 432 | 2 | 3 | 2^4 × 3^3 |
Prime Factorization: compare input ranges
| Input | Tested from | To | Distinct prime factors: low input | Distinct prime factors: high input | Swing |
|---|---|---|---|---|---|
| Value | 324 | 396 | 2 | 3 | 1 (33%) |
Prime Factorization: individual input comparisons
| Input | Value | Distinct prime factors | Largest prime factor | Prime factorization |
|---|---|---|---|---|
| Value | 288 | 2 | 3 | 2^5 × 3^2 |
| 324 | 2 | 3 | 2^2 × 3^4 | |
| 360 | 3 | 5 | 2^3 × 3^2 × 5 | |
| 396 | 3 | 11 | 2^2 × 3^2 × 11 | |
| 432 | 2 | 3 | 2^4 × 3^3 |
Prime Factorization: which assumptions move the result?
Prime Factorization: values and definitions
| Quantity and definition | Value used |
|---|---|
| Value | 360 |
| Distinct prime factors | 3 |
| Largest prime factor | 5 |
| Prime factorization | 2^3 × 3^2 × 5 |
Prime Factorization: half and double Value
| Value | Distinct prime factors |
|---|---|
| 180 | 3 |
| 360 | 3 |
| 720 | 3 |
Common error: Assuming a number could have more than one valid prime factorization. The uniqueness of prime factorization is a proven mathematical fact, so two different factor lists for the same number mean one of them is wrong, not that both are valid.
The method is quick by hand for small numbers, but a factor tree can hide repeated primes. Perfect powers and highly composite numbers have many factors. Prime numbers factor only as themselves.
Reporting only distinct primes loses the exponents, so write the full factorization when solving problems.
Number Theory & Precision calculators: Scientific Notation Calculator, Percent Error Calculator, Number Base Converter Calculator, Factorial Calculator, Modulo Calculator, Fibonacci Calculator.
Every whole number greater than one breaks down into exactly one unique combination of prime factors, a foundational fact the rest of number theory builds on, which means two different-looking factorizations of the identical number are never both correct. One of them has an error somewhere.
Multiply the listed prime factors back together and confirm the product matches the original number exactly.
Check primality on the prime number calculator, find common factors on the GCF and LCM page, and simplify fractions on the fraction simplifier. The root calculator uses factorization to simplify square roots, and the factorial page shows products of many primes. The modulo calculator tests divisibility.
Prime Factorization Calculator: quantities and terminology
What is prime factorization?
Writing a number as a product of prime numbers, such as 360 equals 2 times 2 times 2 times 3 times 3 times 5.
How can I tell if a number is a perfect square from its factors?
It is a perfect square if every prime appears an even number of times in its factorization.
Is the prime factorization of a number unique?
Yes. Apart from the order of the factors, every whole number greater than 1 has exactly one prime factorization.