318 is divisible by 3 because the digits add to 12 and 12 is divisible by 3. 318 is divisible by 2 because the ones digit (8) is an even number. Because 318 is divisible by 2 and 3, it is also divisible by 6. However, the number formed by the last two digits, 18, is not divisible by 4, so 318 is not divisible by 4.