Discover the fascinating world of prime numbers!
Prime numbers are whole numbers greater than 1 that can only be divided exactly by 1 and themselves, meaning they have exactly two factors. Examples of prime numbers include 2, 3, 5, 7, 11, 13 and 17. The number 2 is the only even prime number because all other even numbers can be divided by 2. Numbers such as 4, 6, 8 and 9 are called composite numbers because they have more than two factors. The number 1 is neither prime nor composite. Prime numbers are important in mathematics because they are the building blocks of all other whole numbers.
Enter a number to find out if it is prime.
Generate all prime numbers up to a number of your choice.