Is 798 a prime number?
No, 798 is not a prime number. It is divisible by 2: 798 = 2 × 399.
Is 798 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 √798 ≈ 28.25. If none of them divides 798, it is prime.
- 3
2 divides 798 exactly, so it is not prime. Its prime factorisation is
LaTeX source of the formulas on this page
\[ 798 = 2 \times 3 \times 7 \times 19 \]
Testing 798 by the primes up to its square root
| Prime | Division | Result |
|---|---|---|
| 2 | 798 ÷ 2 | divides exactly (399) |
| 3 | 798 ÷ 3 | divides exactly (266) |
| 5 | 798 ÷ 5 | leaves 3 |
| 7 | 798 ÷ 7 | divides exactly (114) |
| 11 | 798 ÷ 11 | leaves 6 |
| 13 | 798 ÷ 13 | leaves 5 |
| 17 | 798 ÷ 17 | leaves 16 |
| 19 | 798 ÷ 19 | divides exactly (42) |
| 23 | 798 ÷ 23 | leaves 16 |
Questions
Is 798 a prime number?
No, 798 is not a prime number. It is divisible by 2: 798 = 2 × 399.
What is the next prime after 798?
809.
What is the prime number before 798?
797.
What are the factors of 798?
1, 2, 3, 6, 7, 14, 19, 21, 38, 42, 57, 114, 133, 266, 399, 798.