Is 30030003 divisible by 8 or 9?
It is divisible by 8 because 202008/8 = 25251
But divided by 9 it will leave a remainder
-----------------------
To test if a number is divisible by 8 add the ones digit to
twice the tens digit to 4 times the hundreds digit; if this sum is
divisible by 8 then so is the original number. By repeating the
test on the sum until a single digit remains, only if this single
digit is 8 is the original number divisible by 8, otherwise it
gives the remainder when divided by 8 (except if it is 9, in which
case the remainder is 1 - the excess of 9 over 8).
For 202008: ones_digit + 2 × tens_digit + 4 × hundreds_digit = 8
+ 2 × 0 + 4 × 0 = 8; so 208008 is divisible by 8.
To test if a number is divisible by 9, add up the digits of the
number; if this sum is divisible by 9, then so is the original
number. By repeating the test of the sum until a single digit
remains, only if this single digit is 9 is the original number
divisible by 9, otherwise it gives the remainder when the original
number is divided by 9. (This single digit is also called the
"digital root" of the number.)
For 202008: 2 + 0 + 2 + 0 + 0 + 8 = 12; 1 + 2 = 3; so 202008 is
not divisible by 9; it has a remainder of 3 when divided by 9.