As an example , if this is done up to the number 10 , the numbers 2 , 3 , 5 and 7 are prime numbers , and 4 , 6 , 8 , 9 and 10 are composite numbers .
Among the numbers 1 to 6 , the numbers 2 , 3 , and 5 are the prime numbers , while 1 , 4 , and 6 are not prime .