The chart below lists all of the prime numbers between 1 and 10,000
A prime number is defined as any number that can be divided, without a remainder, only by itself and by 1.
Other Helpful Hints When Working With Prime Numbers
Zero and 1 are not considered prime.
The only even prime number is 2. All other even numbers can be divided by 2. And remember, if it ends in ZERO it’s also even.
No number greater than the prime number 5 ends in a 5. Because, if it ends in a 5 can be divided by 5.
Any number where the “sum” of the digits add up to a number that is divisible by “3” is not prime. Example: The number 1,269 is not prime because the sum of the digits (1 + 2 + 6 + 9 = 18) and since “18” is evenly divisible by 3, the number 1,269 is NOT a prime number.
Except for 0 and 1, a number is either a prime number or a composite number. A composite number is defined as any number, greater than 1, that is not prime.
// To test whether a number is a prime number, try dividing it by 2, then by 3, then by 5, then by 7, and so on.