Prime Number Checker

A prime number checker tells you whether a number has any divisors other than one and itself. Enter the number and it returns a yes or no, and when the number is not prime it shows the factors that divide it. Testing a large number by hand means trying every candidate divisor up to its square root, which is exactly the tedium this removes. Primes underpin encryption, which is why the question comes up outside of maths classes.

Widget