The number 542 can be evenly divided by 1 2 271 and 542, with no remainder.
Since 542 cannot be divided by just 1 and 542, it is a composite number.