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