To determine if 5040 is a prime number or a composite number, we simply look at the factors for 5040.
If the factors of 5040 are only 5040 and 1, then we know that 5040 is a prime number. Otherwise, 5040 is a composite number.
To explain better, if 5040 is only divisible by 1 and 5040, then it is a prime number, and if 5040 is divisible by more than 5040 and 1, then it is a composite number.
The factors of 5040 are as follows:
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 14, 15, 16, 18, 20, 21, 24, 28, 30, 35, 36, 40, 42, 45, 48, 56, 60, 63, 70, 72, 80, 84, 90, 105, 112, 120, 126, 140, 144, 168, 180, 210, 240, 252, 280, 315, 336, 360, 420, 504, 560, 630, 720, 840, 1008, 1260, 1680, 2520, 5040
Therefore, since 5040 is divisible by more than one and itself, the answer to the
question "Is 5040 prime or composite?" is highlighted in blue below.
composite
Is 5041 prime or composite?
OK. Now you know that 5040 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.
|
|