Is 502 a Prime Number?

No — 502 is a composite number: 502 = 2 × 251. It has 4 factors (1, 2, 251, 502), more than the two a prime needs. Its smallest prime factor is 2.

Is 502 prime?No — composite
Previous prime499
Next prime503
Prime factorization2 × 251

Step by step

  1. Smallest divisor: 2 (502 ÷ 2 = 251).
  2. So 502 is composite: 502 = 2 × 251

The √502 test

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

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

Nearby primes

Previous prime: 499. Next prime: 503.

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

Is 502 prime: questions

Is 502 a prime number?

No — 502 is a composite number: 502 = 2 × 251.

What are the factors of 502?

1, 2, 251, 502.

What is the next prime after 502?

503.