Is 21 a prime number?

No, 21 is not a prime number. It is a composite number: its digits add up to 3, which is divisible by 3, so 21 is divisible by 3.

Why 21 is not prime

21 has divisors other than 1 and itself. The smallest is 3: 21 ÷ 3 = 7.

Prime factorization: 21 = 3 × 7.

Quick facts about 21

Is it prime? Nearby numbers

NumberPrime?
17Yes
18No, 2 × 3 × 3
19Yes
20No, 2 × 2 × 5
22No, 2 × 11
23Yes
24No, 2 × 2 × 2 × 3
25No, 5 × 5

More about 21: factors of 21 · 21 squared · square root of 21 · 21 in binary · 21 in Roman numerals.

Another number? Use the prime number checker for any value, or see the list of prime numbers.