All of this reduces to a simple property of ODD numbers divisible by 3. Take any odd number divisible by 3 and add the digits….
So 210=235*7 = 2+1=3
This works for any odd number with 3 as a prime factor. As far as I can tell it will not work with any other prime.