To determine if 3157 is a prime number or a composite number, we simply look at the factors for 3157.
If the factors of 3157 are only 3157 and 1, then we know that 3157 is a prime number. Otherwise, 3157 is a composite number.
To explain better, if 3157 is only divisible by 1 and 3157, then it is a prime number, and if 3157 is divisible by more than 3157 and 1, then it is a composite number.
The factors of 3157 are as follows:
1, 7, 11, 41, 77, 287, 451, 3157
Therefore, since 3157 is divisible by more than one and itself, the answer to the
question "Is 3157 prime or composite?" is highlighted in blue below.
composite
Is 3158 prime or composite?
OK. Now you know that 3157 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.
|
|