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