87 is divisible by 3 because its digits add to 15 and 15 is divisible by 3, so 87 is not a prime number because it has more factors than 1 and itself.