Tested tool guide
Tested browser tools
Checked August 16, 2026
What Prime Number Checker & Generator does, with a checked example
Enter a whole number and the tool says whether it is prime, returning a verdict and, for composite inputs, the prime factorization with exponents. It also generates the complete ascending list of primes at or below any limit you choose. The results that surprise people most are the status of 1, which is neither prime nor composite, and of 2, the only even prime. For composites, read the factorization carefully: a repeated factor appears once with an exponent, so 12 is shown as 2^2 x 3, not as 2 x 2 x 3.
Worked example
A concrete input and expected output from the current implementation.
->
Expected output
360 is not prime. Prime factorization: 2^3 x 3^2 x 5
360 divides by 2 three times (360 to 180 to 90 to 45), then by 3 twice (45 to 15 to 5), and 5 is prime. Every integer greater than 1 has exactly one prime factorization, so this is the only way to write 360 as a product of primes.