Express the number as a product of its factors.
The factors of 21:
21 = 1 × 21.
21 = 3 × 7.
Factors of 21 are 1, 3, 7 and 21. Since the number has more than two factors, it is composite.
The number 21 is a composite number.