True or false: If b & m are positive integers, then b|m iff the last b-adic digit $d_{0}$ of $m$ is $0$.
Here $m = d_{k}b^k + d_{k-1}b^{k-1} + ... + d_{0}$, & the numbers $d_{k}, ..., d_{0}$ are called b-adic digits of m.
Proof: I know I need to show proof of this for each way, (-->) & (<--). I have a Lemma which states that if $a$,$b$, & d are integers then $d|a + b$ iff $d | b$, which I think I could make use of. I don't understand why $d_{0}$ should be $0$ though, does this somehow offset potential division by integers?
Sorry if my formatting is off. I'm attempting to learn it properly!
For the first direction, $if b\mid m$ then $b\mid d_0 + d_1 b + d_2 b^2 +\dots + d_K b^K$, applying the lemma shows that $b\mid d_0$.
For the converse, do the same but on $d_0 = m - d_1 b + d_2 b^2 +\dots + d_K b^K$: if $b\mid d_0$, then $b\mid m - d_1 b + d_2 b^2 +\dots + d_K b^K$ and by the lemma $b\mid m$.
– Clement C. Feb 04 '15 at 14:33