To test for divisibility by 3 and 9 we add up the digits of a number and see if the sum is divisible by 3 or 9. Does this work for 27 as well?