A number is divisible by a certain number if it can be divided by the latter and leaves no remainder.
An integer is divisible by two if and only if its last digit is even
an integer is divisible by three if and only if the sum of its digits is divisible by 3
An integer is divisible by four if and only if its last two digits are divisible by 4
An integer is divisible by five if and only if its last digit is 0 or 5
An integer is divisible by six if and only if it is even and divisible by 3
An integer is divisible by seven if and only if the difference between the number made by the other digits of the integer and twice the last digit of the integer is divisible by 7
An integer is divisible by eight if and only if its last three digits are divisible by 8
An integer is divisible by nine if and only if the sum of its digits is divisible by 9