I learned how to do this in 4th grade, but got rusty over the years.
A refresher course helped me to see that it really works!
Also, if you want to know if a number with 2 or more digits is divisible by 3, add the digits - which sum will be smaller - to see if the sum is divisible by 3.
Sylvia