318 is divisible by 2, 3, and 6. However, the number formed by the last two digits, 18, is not divisible by 4, so 318 is not divisible by 4.