Contents
- ๐ What is this?
- ๐จ๐ปโ๐ป How to use it?
- ๐ฐ Examples
- ๐ Nuances
- ๐ค Frequently asked questions
- ๐ Related materials
How the factorization calculator works
Enter a nonzero whole number. The calculator divides it into prime factors and compresses repeated factors into powers; a prime is a number greater than 1 divisible only by 1 and itself.
Read the product, not just the list
The result reconstructs your number exactly. For a negative input, โ1 records the sign separately; it is not prime. The two smaller counts distinguish repeated factors from distinct primes.
Here each p is a different prime, each exponent a counts its repeats, and ฮต is the sign. To check a result, multiply the displayed powers and include โ1 if needed.
Three useful checks
360: dividing by 2 three times, by 3 twice, and by 5 once gives six factors in total but only three distinct primes.
โ84: factor 84 first, then restore the negative sign. The product has four prime factors with repeats.
97: no integer from 2 through its square-root boundary divides it. Its one-factor decomposition is simply 97. The prime checker gives a direct prime-or-composite verdict.
Why 1 and 0 behave differently
Both 1 and โ1 have no prime factors. Zero is different: every nonzero integer divides it, so there is no unique finite prime product to return.
The input is limited to nonzero integers with absolute value at most 1,000,000,000,000. BigInt arithmetic keeps every accepted factor and exponent exact, without decimal rounding. Trial division may take longer for a large prime than for an even number.
Questions about prime factors
These answers clarify the edge cases before you use a factorization in another calculation.
Is 1 a prime factor?
No. A prime has exactly two positive divisors; 1 has only one.
Why is โ1 shown for a negative number?
It carries the sign of the original integer. It is not counted among the prime factors.
Can I factor zero?
Not into a unique finite product of primes. The calculator therefore rejects zero.
Are the powers rounded?
No. Accepted integers are processed with exact integer arithmetic.
Does this show every divisor?
No. It shows the prime factors and successful division steps, not the full list of divisors.
Similar calculators
You may find the following calculators on the same topic useful:
- Expected value calculator. Enter each possible outcome and its percentage probability to find the long-run average and spread.
- Time duration calculator. Enter a start and end time to find the net duration, then add more intervals when the time is split.
- Fraction addition calculator. Enter two fractions, choose an operation and get an exact reduced answer.
- Divisors of a number calculator. Enter a positive whole number to see how many divisors it has, then open the complete list.
- Mean absolute deviation calculator. Enter numbers to see how far they lie from their arithmetic mean on average.
- Median absolute deviation calculator. Enter numbers to find the typical distance from their median.
- Fraction to decimal calculator. Enter a numerator and denominator to see the decimal value; add a whole part if needed.
- Coefficient of variation calculator. Enter a list of numbers to see their relative spread as a percentage.
- Variance calculator. Paste numbers, choose a data type, and see how far the values spread around their mean.
- Percentile and percentile rank calculator. Enter numbers, then choose a percentile or compare one value with the list.
Share on social media
If you liked it, please share the calculator on your social media platforms. It`s easy for you and beneficial for the project`s promotion. Thank you!