To determine if 945 is a prime number or a composite number, we simply look at the factors for 945.
If the factors of 945 are only 945 and 1, then we know that 945 is a prime number. Otherwise, 945 is a composite number.
To explain better, if 945 is only divisible by 1 and 945, then it is a prime number, and if 945 is divisible by more than 945 and 1, then it is a composite number.
The factors of 945 are as follows:
1, 3, 5, 7, 9, 15, 21, 27, 35, 45, 63, 105, 135, 189, 315, 945
Therefore, since 945 is divisible by more than one and itself, the answer to the
question "Is 945 prime or composite?" is highlighted in blue below.
composite
Is 946 prime or composite?
OK. Now you know that 945 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.
|
|