Proving a number is congruent to its digit sum modulo 9

  • Thread starter scottstapp
  • Start date
3 replies · 3K views · last reply
scottstapp
Messages
40
Reaction score
0

Homework Statement


Prove the following
a is congruent to s(mod 9)

Homework Equations


a=drdr-1***d1d0

a=d0+ d110+ d2102+...+dr10r

s= d0+ d1 +...+dr

The Attempt at a Solution



we know that 10-1=9 so we can say that 10 is congruent to 1(mod 9)

so we know that a is congruent to d0+ d110+ d2102+...+dr10r which is congruent to d0+ d1+ d2+...+dr (mod 9).

Is this a step in the right direction? Does anything else need to be shown?
 
Not much else needs to be shown. You could fill in some details, like saying why 10^2, 10^3 etc are also congruent to 1 mod 9. But I'm guessing you've got the idea.
 
Last edited:
I guess what I was trying to ask was is the way I wrote a valid formal proof?
 
scottstapp said:
I guess what I was trying to ask was is the way I wrote a valid formal proof?

You wrote a valid INFORMAL proof. I.e. one where you don't detail all of the reasons for every step. If you want a formal proof, you should supply those reasons.