No, your proof was actually very good (and led to some interesting ideas, in particular where you stated that adding 9 was the same as adding 1 in the tens column and subtracting 1 in the units column - have you ever heard of "modular arithmetic"?) - probably not entirely watertight, but not far off.
My complaint is more general. Take this as an example. It is quite easy to prove the following statement:
1. "If a number
ab−1 is prime (with a and b integers greater than 1), then b is prime and a = 2."
What this doesn't prove is the
converse statement (a kind of opposite), which can be expressed in two equivalent ways:
2a. "If
ab−1 is
not prime, then it is
not true that b is prime and a = 2."
2b. "If b is prime and a = 2, then
ab−1 is prime."
In fact, the converse isn't true! Indeed, if we set a = 2 and b = 11 (which is prime), then 2^11 - 1 = 2047 isn't prime (it's 23 * 89). So a statement and its converse are not always necessarily related (though of course sometimes they are). Now, how does this relate to your problem? You proved the statement:
3. "If a number x is divisible by 3, then the digit sum of x is divisible by 3."
but you did
not prove:
4a. "If x is not divisible by 3, then the digit sum of x is not divisible by 3."
4b. "If the digit sum of x is divisible by 3, then x is divisible by 3."
In this case, the statement and its converse are both true (but certainly not in my example when I swapped "3" for "6[noparse]")[/noparse], but as you can hopefully gather from my primes example, they both need separate proof. (Incidentally, primes of the form a^b - 1, or equivalently 2^(prime) - 1, are called Mersenne primes.)