Prove that the difference between numbers with the

sempteim245

sempteim245

Answered question

2022-03-31

Prove that the difference between numbers with the same sum of digits is a multiple of 9.

Answer & Explanation

Madilyn Shah

Madilyn Shah

Beginner2022-04-01Added 11 answers

Step 1
Well, the difference is not exactly 9, but it is a multiple of 9. Consider two n-digit numbers A=a1a2an and B=b1b2bn such that
i=1nai=i=1nbii=1n(aibi)=0
You are free to assume the first few digits of the number (or any other for that matter) to be zero, in order to produce numbers that have less than n digits. The proof still goes through.
AB=10n1(a1b1)+10n2(a2b2)++(anbn)
Using i=1n(aibi)=0 we can simplify the above expression to get:
AB=(10n11)(a1b1)+(10n21)(a2b2)+(1011)(an1bn1)
Now, 10k1 is always a multiple of 9. In addition, each of the terms in the expression of AB above, is a multiple of 10k1 for some k1,kZ. As a result, each term of the sum is a multiple of 9, and therefore AB itself is also a multiple of 9.
Why is 10k1 a multiple of 9 - you may ask? The binomial expansion suffices!
10k1=(9+1)k1=sum of multiples of  9=multiple of  9
I leave the details of the above argument to you. Lastly, this works for all nN, and so we have proved it for all numbers.
The difference between two integers with the same sum of digits, is divisible by 9.

Do you have a similar question?

Recalculate according to your conditions!

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?