Overview

Every whole number above 1 can be written as a product of primes in exactly one way. This breaks a number down into its prime factors.

Enter a whole number from 2 to 10,000.

Worked examples

InputsResult
Number360360 = 2^3 × 3^2 × 5
Show 3 more examples
Number9797 = 97
Number1,0011001 = 7 × 11 × 13
Number9,9999999 = 3^2 × 11 × 101

How it works

It divides by 2 as many times as possible, then 3, and so on, up to the square root of what's left. Anything over 1 at the end is itself a prime. Repeated factors are written as powers.

Practical tips

  • 360 = 2³ × 3² × 5.
  • A prime number factors only as itself, such as 97 = 97.
  • Prime factors help find GCF and LCM: take the lowest or highest power of each prime.

Frequently asked questions

What is a prime number?

A whole number above 1 divisible only by 1 and itself.

Is 1 prime?

No. By definition, primes must be greater than 1.

Why stop at 10,000?

To keep results quick and readable. The method works for any size.