SOLUTION: Prove the well known result that the remainder on dividing a number by 9 is the same as the remainder on dividing the sum of its digits by 9. Show that the result may be generaliz

Algebra ->  Problems-with-consecutive-odd-even-integers -> SOLUTION: Prove the well known result that the remainder on dividing a number by 9 is the same as the remainder on dividing the sum of its digits by 9. Show that the result may be generaliz      Log On


   



Question 394982: Prove the well known result that the remainder on dividing a number by 9 is the same as the remainder on dividing the sum of its digits by 9.
Show that the result may be generalized as follows; if a number is divided by s then the remainder is the same as the remainder on dividing bt s the sum of its digits, when it is expressed to the base s+1.

Answer by richard1234(7193) About Me  (Show Source):
You can put this solution on YOUR website!
Let f%28x%29+=+sum%28a%5Bi%5D%2Ax%5Ei%2C+i+=+0%2C+n%29 be a polynomial and f%2810%29+=+sum%28a%5Bi%5D%2A10%5Ei%2C+i+=+0%2C+n%29 be a base-10 number that is divisible by 9. It follows that f%281%29 is the sum of the digits, or sum%28a%5Bi%5D%2C+i+=+0%2C+n%29. Then,

= 0 (modulo 9) since all powers of 10 are congruent to 1 modulo 9. Hence, f%2810%29 and f%281%29 have the same residue modulo 9, and we are done.

To generalize to any base, simply replace 10 with base b+1. The same result should follow, since b+1 is always 1 modulo b.