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