What is a composite number?
A composite number is a whole number greater than 1 that can be divided evenly by at least one number other than 1 and itself. In other words, it has more than two factors. Examples include 4, 6, 8, 9 and 10.
Composite and prime numbers
A prime number has exactly two factors: 1 and itself. Examples are 2, 3, 5, 7 and 11.
A composite number can be split into smaller factors. For example, 12 = 3 × 4, and its factors are 1, 2, 3, 4, 6 and 12.
The number 1
The number 1 is neither prime nor composite, because it has only one factor.
Smallest composite
The smallest composite number is 4, because 4 = 2 × 2.
Even numbers
Every even number greater than 2 is composite, because it can be divided by 2.
Prime factorization
Every composite number can be written as a product of prime numbers in exactly one way, apart from the order. This is called the fundamental theorem of arithmetic.
For example, 60 = 2 × 2 × 3 × 5.
Testing a number
To check whether a number is composite, you only need to test whether it can be divided by prime numbers up to its square root.
Why it matters
Factoring very large composite numbers is extremely difficult. Modern internet security relies on this difficulty.