- Number to factorize
- 360
2^3 × 3^2 × 5
Open with these values2^3 × 3^2 × 5
Result: 2^3 × 3^2 × 5Divide out the smallest prime that fits, again and again, until nothing is left. 360 gives 2 three times, 3 twice and 5 once, so 360 = 2^3 × 3^2 × 5. Every whole number above 1 has exactly one such decomposition.
| Number to factorize | Result |
|---|---|
| 100 | 100 |
| 200 | 200 |
| 300 | 300 |
| 360Your value | 360 |
| 400 | 400 |
| 500 | 500 |
| 600 | 600 |
| 700 | 700 |
2^3 × 3^2 × 5
Open with these values2^2 × 5^2
Open with these values97
Open with these valuesn = p₁^e₁ × p₂^e₂ × … × pₖ^eₖ
Every whole number above 1 is either prime or a product of primes, and that product is unique apart from the order of its factors. This is the fundamental theorem of arithmetic, and it is why a factorization is an answer rather than one answer among several: 360 is 2 × 2 × 2 × 3 × 3 × 5 and nothing else. Writing it in exponent form keeps it short. Three twos, two threes and one five become 2^3 × 3^2 × 5, where the exponent counts how often that prime divides the number. Finding the factors is trial division. Take out every 2 you can, then every 3, then 5, 7 and upwards through the odd numbers. You can stop as soon as the divisor squared is larger than what is left over: any remaining factor smaller than that would already have been removed, so whatever remains above 1 must itself be prime. That is why checking 97 costs only a handful of divisions — after 3, 5 and 7 the square already passes 97. The decomposition is the foundation for other work. The greatest common divisor is built from the primes two numbers share, the least common multiple from the higher exponent of each prime, and a fraction reduces to lowest terms exactly when numerator and denominator have no prime in common.
Once your divisor squared exceeds the remainder, stop. Whatever is left above 1 is prime, because a smaller factor would have been divided out already.
2^3 means 2 divides the number three times, not that 2 and 3 are both factors. 2^3 × 3^2 × 5 is 8 × 9 × 5 = 360.
97 has no factors besides 1 and itself, so its factorization is simply 97. That is the calculator telling you the number is prime.
It is neither prime nor composite, and 0 divides by everything. That is why the input starts at 2, the smallest prime.
1 counts as a prime factor of every number.
1 is not prime. Allowing it would give endless factorizations of the same number and break their uniqueness.
2^3 × 3^2 means the factors are 2, 3, 3 and 2.
It means three twos and two threes: 2 × 2 × 2 × 3 × 3. The raised number is a count, not a factor.
You have to test every number up to n to be sure.
Testing divisors only up to the square root is enough. Beyond it, any factor left over is prime.
| Number | Prime factorization | Factors with multiplicity |
|---|---|---|
| 2 | 2 | 1 |
| 12 | 2^2 × 3 | 3 |
| 17 | 17 | 1 |
| 36 | 2^2 × 3^2 | 4 |
| 64 | 2^6 | 6 |
| 97 | 97 | 1 |
| 100 | 2^2 × 5^2 | 4 |
| 360 | 2^3 × 3^2 × 5 | 6 |
| 1000 | 2^3 × 5^3 | 6 |
Divide by the smallest prime that fits and repeat with the quotient. For 360: 2, 2, 2, then 3, 3, then 5, which gives 2^3 × 3^2 × 5.
The fundamental theorem of arithmetic guarantees it: every integer above 1 has exactly one set of prime factors, apart from their order. That uniqueness is what makes it useful for comparing numbers.
The number itself. 97 has no divisors besides 1 and 97, so the factorization is just 97 — which is the answer to whether it is prime.
1 is neither prime nor composite and has no prime factorization, and 0 is divisible by every number. The smallest number with a factorization is 2, the smallest prime.
It gives the greatest common divisor from the primes two numbers share, the least common multiple from the higher exponents, and it shows at a glance whether a fraction can still be reduced.
Information, not professional advice.
Diese Seite gibt es auch auf Deutsch.
Zu Deutsch wechseln