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