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