The number 42 can be evenly divided by 1 2 3 6 7 14 21 and 42, with no remainder.
Since 42 cannot be divided by just 1 and 42, it is a composite number.