6*c is divisible by 3, so it will only cause multiplication by 10 of the "abd" result.
if a+b+d is divisible by 3 , so is the decimal string abd.
The number of "qualifying" strings from 000 to 999 is 999/3+1=334.
Hence the answer 3340.
blackjack
flooble's webmaster puzzle