Factor it. Prime numbers have two factors, composite numbers have more than two.
Chat with our AI personalities
A Prime number has only 2 factors which are 1 and itself. Composite numbers are everything else except 1 and 0. 1 and 0 are neither prime, nor composite.