I suspect I'm just drawing a blank here, but I thought any number is divisible by 3 if the sum of its digits is divisible by 3.

Am I wrong about this? I came across the number 6111. The sum of its digits is 9. But when I divide 6111 by 3, I get $\displaystyle 2033\frac{1}{3}$.