The number 667 can be evenly divided by 1 23 29 and 667, with no remainder.
Since 667 cannot be divided by just 1 and 667, it is a composite number.