Details
- Smallest prime factor: —
- Prime factors: —
Step-by-step
Explanation:
This tool finds the prime factorization of an integer and shows the work step by step using a division chain, then groups repeated factors into powers. Enter $n$ (negatives are allowed) to factorize $|n|$ and, when needed, show the result as $-1$ times the factorization. For more number-structure topics, explore Number Theory.
Write an integer as a product of prime factors.
Integer values only. Decimals are not allowed.
Prime factorization writes an integer as a product of prime numbers. For any integer $n \gt 1$, the factorization is unique (up to the order of the factors). Results are usually shown in power form, like $2^3 \cdot 3^2 \cdot 5$, which is compact and easy to read.
Prime factors help you understand a number’s structure and make many number theory tasks easier. For example, primes tell you whether a number is factorable at all, and shared prime factors explain why numbers have a nontrivial GCD.
The calculator factors $|n|$ by repeatedly dividing by small primes. Each successful division is recorded as a division chain (for example, $84 = 2 \cdot 42$). After the chain is built, repeated primes are collected into powers to produce the final compact form.
Factor a composite number and collect repeated primes into powers.
Find: $$360$$
Division chain: $$360 = 2\cdot 180$$ $$180 = 2\cdot 90$$ $$90 = 2\cdot 45$$ $$45 = 3\cdot 15$$ $$15 = 3\cdot 5$$
Collect factors: $$360 = 2\cdot 2\cdot 2\cdot 3\cdot 3\cdot 5$$ $$360 = 2^3\cdot 3^2\cdot 5$$
So: $$360 = 2^3\cdot 3^2\cdot 5$$
If $n$ is prime, its prime factorization is itself.
Find: $$97$$ Since $97$ is prime: $$97 = 97$$
The tool factors $|n|$ and includes a factor of $-1$ in the final result.
Find: $$-84$$ Work with: $$|{-84}|=84$$
Division chain: $$84 = 2\cdot 42$$ $$42 = 2\cdot 21$$ $$21 = 3\cdot 7$$
Collect factors and apply the sign: $$84 = 2^2\cdot 3\cdot 7$$ $$-84 = -1\cdot 2^2\cdot 3\cdot 7$$
The number $1$ has no prime factors.
Find: $$1$$ So: $$1 = 1$$
Keep exploring Mathematics or jump back to Calculators to browse more tools.
Quick answers about prime factors, powers, and edge cases.
Trusted by thousands of users every month. Fast, accurate and privacy-friendly tools.