Is 798 a Prime Number?

No — 798 is a composite number: 798 = 2 × 3 × 7 × 19. It has 16 factors (1, 2, 3, 6, 7, 14, 19, 21, 38, 42, 57, 114, …), more than the two a prime needs. Its smallest prime factor is 2.

Is 798 prime?No — composite
Previous prime797
Next prime809
Prime factorization2 × 3 × 7 × 19

Step by step

  1. Smallest divisor: 2 (798 ÷ 2 = 399).
  2. So 798 is composite: 798 = 2 × 3 × 7 × 19

The √798 test

To check 798, divide it by each prime up to √798 ≈ 28.25. If none goes in evenly, the number is prime.

TestResultVerdict
798 ÷ 2no remainder✓ factor — so 798 is composite

Nearby primes

Previous prime: 797. Next prime: 809.

Full details: factors of 798 · all primes up to 1,000.

Is 798 prime: questions

Is 798 a prime number?

No — 798 is a composite number: 798 = 2 × 3 × 7 × 19.

What are the factors of 798?

1, 2, 3, 6, 7, 14, 19, 21, 38, 42, 57, 114, 133, 266, 399, 798.

What is the next prime after 798?

809.