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