chrislink.net

Check prime numbers

Give an integer :




Retrieve prime numbers inside an interval of two whole numbers

Retrieve all the prime factors of an integer

What's a prime number?

A prime number is a natural number greater than 1 and that has only two divisors (1 and the prime number). 2 is the first prime number and the unique even number to be prime number. All whole numbers that are greater than 1 and that are not prime numbers are called composite numbers.
Here are prime numbers between 1 et 100: 2; 3; 5; 7; 11; 13; 17; 19; 23; 29; 31; 37; 41; 43; 47; 53; 59; 61; 67; 71; 73; 79; 83; 89; 97.
All prime numbers are odd numbers except 2.