Work Step by Step
A prime number can only be divided by 1 and itself, whereas a composite number is a positive integer that can be divided by more than 1 and itself. Equivalently, it is a positive integer that has at least one divisor other than 1 and itself. Likewise, integers 2 and 3 are not composite numbers because they can only divide each of them by one and itself. An example of a composite number would be 4 as four can be divided by 1,2 and itself.