Is 5104 a prime number?
No, 5104 is not a prime number. It is divisible by 2: 5104 = 2 × 2552.
Is 5104 prime?
Pick any whole number from 1 to 10,000.
How to work it out
- 1
A prime number has exactly two factors: 1 and itself.
- 2
It is enough to test the primes up to √5104 ≈ 71.44. If none of them divides 5104, it is prime.
- 3
2 divides 5104 exactly, so it is not prime. Its prime factorisation is
LaTeX source of the formulas on this page
\[ 5104 = 2^{4} \times 11 \times 29 \]Testing 5104 by the primes up to its square root
| Prime | Division | Result |
|---|---|---|
| 2 | 5104 ÷ 2 | divides exactly (2552) |
| 3 | 5104 ÷ 3 | leaves 1 |
| 5 | 5104 ÷ 5 | leaves 4 |
| 7 | 5104 ÷ 7 | leaves 1 |
| 11 | 5104 ÷ 11 | divides exactly (464) |
| 13 | 5104 ÷ 13 | leaves 8 |
| 17 | 5104 ÷ 17 | leaves 4 |
| 19 | 5104 ÷ 19 | leaves 12 |
| 23 | 5104 ÷ 23 | leaves 21 |
| 29 | 5104 ÷ 29 | divides exactly (176) |
| 31 | 5104 ÷ 31 | leaves 20 |
| 37 | 5104 ÷ 37 | leaves 35 |
Questions
Is 5104 a prime number?
No, 5104 is not a prime number. It is divisible by 2: 5104 = 2 × 2552.
What is the next prime after 5104?
5107.
What is the prime number before 5104?
5101.
What are the factors of 5104?
1, 2, 4, 8, 11, 16, 22, 29, 44, 58, 88, 116, 176, 232, 319, 464, 638, 1276, 2552, 5104.