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