A composite number is a positive integer that can be formed by multiplying two smaller positive integers. Accordingly it is a positive integer that has at least one divisor other than 1 and itself.[1][2] Every positive integer is composite, prime, or the unit 1, so the composite numbers are exactly the numbers that are not prime and not a unit.[3][4] E.g., the integer 14 is a composite number because it is the product of the two smaller integers 2 × 7 but the integers 2 and 3 are not because each can only be divided by one and itself.
The composite numbers up to 150 are:
Every composite number can be written as the product of two or more (not necessarily distinct) primes.[2] For example, the composite number 299 can be written as 13 × 23, and the composite number 360 can be written as 23 × 32 × 5; furthermore, this representation is unique up to the order of the factors. This fact is called the fundamental theorem of arithmetic.[5][6][7][8]
There are several known primality tests that can determine whether a number is prime or composite which do not necessarily reveal the factorization of a composite input.