To determine if 5790 is a prime number or a composite number, we simply look at the factors for 5790.
If the factors of 5790 are only 5790 and 1, then we know that 5790 is a prime number. Otherwise, 5790 is a composite number.
To explain better, if 5790 is only divisible by 1 and 5790, then it is a prime number, and if 5790 is divisible by more than 5790 and 1, then it is a composite number.
The factors of 5790 are as follows:
1, 2, 3, 5, 6, 10, 15, 30, 193, 386, 579, 965, 1158, 1930, 2895, 5790
Therefore, since 5790 is divisible by more than one and itself, the answer to the
question "Is 5790 prime or composite?" is highlighted in blue below.
composite
Is 5791 prime or composite?
OK. Now you know that 5790 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.
|
|