Jump to content
BrainDen.com - Brain Teasers
  • 0


Guest
 Share

Question

A contributor to one of K. Sengupta's recent puzzles recently stated a result, and assumed that any intelligent observer would have known it as a matter of course.

To the unintelligencia like myself, it is not so obvious, even though I think it to be undoubtably true. Effectively the statement was that, if one picked any integer in the decimal notation, then randomized the integers to form a separate number, and further subtracted the smaller number from the other, then the result would be divisible by 9.

Would the contributor be agreeable to furnish a simple proof of the statement?

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Let N1 = a0 + 10.a1 + 101.a2 + .. + 10x.ax

where ai is an integer from 0 to 9.

A permutation of the digits of N1 is an other such expression, where the exponents of 10 are permutated.

N2 = 10b1.a0 + 10b2.a1 + 10b3.a2 + .. + 10bx.ax

Subtracting one from the other,

N2 - N1 = (10something - 10somethingelse).a0 + (10something - 10somethingelse).a1 + .. + (10something - 10somethingelse).ax

Each of these terms have a factor that is a difference between two powers of 10. Difference between two powers of 10 is always a multiple of 9. Hence the whole expression is a multiple of 9.

Link to comment
Share on other sites

  • 0

A simpler way to think of it

The first number has a digital root of x . The second because it contains the same digits has the same digital root.

When the two numbers are subtracted the result must therefore have a digital root of 0. Any number with a digital root of 0 or 9 is divisible by 9.

Link to comment
Share on other sites

  • 0

Another method

I had done this sort of problem before- ended up using an excel spreadsheet and found patterns, etc.

Now I think the easiest way to explain it to a resilient brain like mine is with modular math.

Take original number, then find out what it is in mod base 9

Rearrange the digit and then take mod base 9 of that new number- it's the same as the mod 9 of the first number

Or, you could say, the remainders when divided by 9 are equal. Another way of writing each number would be

(number of times 9 goes in evenly) + remainder

_number above is a multiple of 9_

So if you subtract [(number of times 9 goes in) + R] - [(number of times 9 goes in second number) + R]

You get the difference of two multiples of 9, which is definitely divisible by 9 itself. Or, if you stay in mod 9 for both numbers and take the difference, you get 0. 0 in mod 9 means the number is divisible by 9

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...