To determine if 6138 is a prime number or a composite number, we simply look at the factors for 6138.
  
If the factors of 6138 are only 6138 and 1, then we know that 6138 is a prime number. Otherwise, 6138 is a composite number.
  
To explain better, if 6138 is only divisible by 1 and 6138, then it is a prime number, and if 6138 is divisible by more than 6138 and 1, then it is a composite number.
  
The factors of 6138 are as follows:
  
1, 2, 3, 6, 9, 11, 18, 22, 31, 33, 62, 66, 93, 99, 186, 198, 279, 341, 558, 682, 1023, 2046, 3069, 6138
  
Therefore, since 6138 is divisible by more than one and itself, the answer to the
question "Is 6138 prime or composite?" is highlighted in blue below.
  
composite
  
 
Is 6139 prime or composite? 
OK. Now you know that 6138 is a composite number. Use our logic above and see if
you can figure out if the next number on our list is prime or composite before you check your answer.
  
 |   
 |