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