ToolHub

Prime Factorizer

Check whether a number is prime, get its prime factorization (like 2³ × 3² × 5), and count its divisors—up to 10¹². Everything runs in your browser.

Input
Output

Enter an integer between 2 and 10¹²

FAQ

How is the divisor count computed?

If n = p^a × q^b, the count is (a+1)(b+1). For 360 = 2³×3²×5, that's 4×3×2 = 24 divisors.

Why isn't 1 prime?

Primes have exactly two divisors. Including 1 would break the uniqueness of prime factorization.

How large can the input be?

Up to 10¹² via trial division—larger inputs would be slow. Cryptographic-scale factoring needs specialized tools.

Related tools