Reversal Nines

Dr. Frankenine (cousin of Dr. Frankenthree ) took positive integers, reversed their digits, and subtracted the two numbers. She noticed all the results were divisible by 9: 83 38 = 45 = 9 × 5 113 311 = 198 = 9 × ( 22 ) 1431 1341 = 90 = 9 × 10 44344 44344 = 0 = 9 × 0. \begin{aligned} {\color{#3D99F6}83}-{\color{#20A900}38} &= 45 \\&= 9 \times 5 \\\\ {\color{#3D99F6}113}-{\color{#20A900}311} &= -198 \\&= 9 \times (-22) \\\\ {\color{#3D99F6}1431} -{\color{#20A900}1341} &= 90 \\&= 9 \times 10 \\\\ {\color{#3D99F6}44344} -{\color{#20A900}44344} &= 0 \\&= 9 \times 0. \end{aligned} Are the numbers Dr. Frankenine creates in this way always multiples of 9?

Note: This puzzle is in base 10.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

30 solutions

David Vreken
May 1, 2018

Relevant wiki: Divisibility Rules (2,3,5,7,11,13,17,19,...)

The digital sum of a number also gives the remainder of that number when it is divided by 9 9 (see Casting Out Nines ).

Reversing the order of the digits in a number does not change the digital sum, and therefore does not change the remainder of that number when it is divided by 9 9 .

Therefore, when two numbers with the same digits are subtracted, the same remainders are subtracted, which gives a resulting remainder of 0 0 , which means the result is always divisible by 9 9 .

Why does the digital sum conserve with addition modulo 9 ?

Rémi Girard - 3 years, 1 month ago

Log in to reply

The digital sum is conserved because addition is commutative. The total of all the digits of a number is the same no matter which order you add them.

David Vreken - 3 years, 1 month ago

10^n-1 is divisible by 9 so there's a remainder of 1 each time something like 10^n-1 occurs. For example, 318 = 300+10+8 = 3(99+1)+1(9+1)+8=3+1+8 mod 9.

lovro cupic - 3 years, 1 month ago

Log in to reply

Thank you !

Rémi Girard - 3 years, 1 month ago

"which means the result is always divisible by 9." That wasn't the question - the question is whether the answer is always a multiple of nine. Even in their own example of -198, this is not a multiple (a negative number cannot be a "multiple".

Danny Landrum - 3 years, 1 month ago

Log in to reply

Um... (-22)*9=-198

Valiant Asfar - 3 years, 1 month ago

b is a multiple of a if b = na for some integer n. Integers include negative numbers, so a multiple can be negative.

David Vreken - 3 years, 1 month ago

If it divisible by 9 with no remainder then 9 is a multiple...cool how multiplication is the reverse of division like that

Jerry Duncan - 3 years, 1 month ago

0 is not divisible by 9.

Bill Purvis - 3 years, 1 month ago

Log in to reply

0 = 9 x 0, so it is a multiple of 9

David Vreken - 3 years, 1 month ago

Log in to reply

https://www.quora.com/What-is-the-result-of-9-divided-by-0

Bill Purvis - 3 years, 1 month ago

Log in to reply

@Bill Purvis we are doing 0 divided by 9 (which is 0), not 9 divided by 0 (which is undefined)

David Vreken - 3 years, 1 month ago

Log in to reply

@David Vreken Sire I am just commenting to tell this to you: I have check my calculator many times as possible to reassure myself that I,Lucia, and David are correct. I wish you would treat this as a correction sire, not a form argue. Have a good day everyone!

Arianna Millondaga - 3 years ago

Log in to reply

@Arianna Millondaga I am sorry but this is a reply to Sire Bill Purvis.

Arianna Millondaga - 3 years ago

If all of the numbers are divisible by 9, then it's obvious that the numbers she creates will always be multiples of 9. If I could do this problem again, I would have tried finding the LCM of 9 and see if any of these numbers were multiples of 9. I would rate this problem a 1 because it was very simple. I felt confident while solving this problem and I thought I was going to get it right which I did.

Lucia Tiberio - 3 years, 1 month ago

What about 11, 22, 33 etc. ?

Atharva Deshpande - 3 years ago

Log in to reply

With those numbers the difference is 0, which is still a multiple of 9 (0 x 9)

David Vreken - 3 years ago

that's what i thought too

Black Light - 3 years ago

I highly disagree because there are several examples of this being wrong 22-11,22-12,22-1,19-8,34-22.etc

aaryan vaishya - 2 years, 6 months ago

Log in to reply

The problem states that the two numbers being subtracted have reversed digits, so those are not counterexamples.

David Vreken - 2 years, 6 months ago

Log in to reply

Im confused.

aaryan vaishya - 2 years, 6 months ago

Relevant wiki: Algebraic Manipulation Problem Solving - Intermediate

Number the digits from right to left as digits 0, 1, 2, etc. Let m < n m < n . The m m th digit has value a m 1 0 m a_m\cdot 10^m and the n n th digit has value a n 1 0 n a_n\cdot 10^n . Swapping the two digits results to a change in the amount Δ = ( a n a m ) 1 0 m + ( a m a n ) 1 0 n = ( 1 0 n 1 0 m ) ( a m a n ) = 1 0 m ( 1 0 n m 1 ) ( a m a n ) . \Delta = (a_n-a_m)\cdot 10^m + (a_m-a_n)\cdot 10^n = (10^n - 10^m)(a_m - a_n) = 10^m(10^{n-m} - 1)(a_m - a_n). Now 1 0 n m 1 = 9 ( 1 0 n m 1 + 1 0 n m 2 + + 10 + 1 ) 10^{n-m} - 1 = 9\cdot (10^{n-m-1} + 10^{n-m-2} + \cdots + 10 + 1) is a multiple of 9; therefore Δ \Delta is a multiple of a 9, which means that any swapping of digits will result in a change by a multiple of 9. Therefore inverting the order of digits changes the number by a multiple of 9.

There is a condition - the digits must not be equal.

Iztok Možina - 3 years, 1 month ago

Log in to reply

If m = n m = n or a m = a n a_m = a_n , we obtain Δ = 0 \Delta = 0 , which is also a multiple of 9.

Arjen Vreugdenhil - 3 years, 1 month ago
Naren Bhandari
May 3, 2018

Relevant wiki: Divisibility Rules (2,3,5,7,11,13,17,19,...)

If a positive integer N N is reversed there we just exchange the place value digits of N N in order of 1 0 n , 1 0 n 1 , 1 0 n 2 , 10 , 1 original place value in descending order 1 , 10 , , 1 0 n 2 , 1 0 n 1 , 1 0 n reversed place value in ascending order \underbrace{{\color{#3D99F6}10^n} ,{\color{#D61F06}10^{n-1}} ,{\color{#20A900}10^{n-2}}\cdots ,{\color{#E81990}10}, 1}_{\text{original place value in descending order }}\quad \underbrace{{\color{#3D99F6}1}, {\color{#D61F06}10},\cdots , {\color{#20A900}10^{n-2}}, {\color{#E81990}10^{n-1}},{\color{#333333}10^{n}}}_{\text{reversed place value in ascending order }} For example N = 12345 = 1 0 4 , 1 0 3 , 1 0 2 , 10 , 1 N rv = 54321 = 1 0 4 , 1 0 3 , 1 0 2 , 10 , 1 N= 12345 ={\color{#3D99F6} 10^4} , {\color{#D61F06}10^3} , {\color{#20A900}10^2} ,{\color{#E81990}10},1 \\ N_{\text{rv}} = 54321 = 10^4 , {\color{#E81990}10^3} , {\color{#20A900}10^2} , {\color{#D61F06}10} ,{\color{#3D99F6} 1} Now performing the subtraction we find it as 1 0 n 1 , 1 0 n 1 10 , 1 0 n 2 1 0 n 2 , 10 1 0 n 1 , 1 1 0 n {\color{#3D99F6} 10^n-1 }, {\color{#D61F06} 10^{n-1} -10} , \cdots {\color{#20A900}10^{n-2}-10^{n-2}},{\color{#E81990}10-10^{n-1}} , 1 -10^n The numbers in above form are always divisible by 9 9 even we can show that th numbers are divisible by 9 9 by factorization (see) of a n b n a^n-b^n .


Proof

If N N is a positive integer and a 0 , a 1 , a 2 a n 1 , a n a_0,a_1,a_2\cdots a_{n-1},a_n are the distinct or identical digits. N = 1 0 n a 0 + 1 0 n 1 a 1 + + 10 a n 1 + a n N = 10^na_0 + 10^{n-1}a_1 + \cdots + 10a_{n-1} + a_n On reversing its digits N r v = 1 0 n a n + 1 0 n 1 a n 1 + + 10 a 1 + a 0 N_{rv}= 10^na_n + 10^{n-1}a_{n-1} +\cdots + 10a_{1} +a_0 Now performing the subtraction we find N N r v = a 0 ( 1 0 n 1 ) + a 1 ( 1 0 n 1 10 ) + + ( 10 1 0 n 1 ) a n 1 + ( 1 1 0 n ) a n N N r v = 9. a 0 . 11 1 n 11’s + 9.10 a 1 . 11 1 n-2 11’s + + 9.10 a n 2 . 11 1 n-1 11’s + 9. a n 11 1 n 11’s N N r v = 9 k N-N_{rv} = a_0(10^n-1) + a_{1}(10^{n-1} -10) + \cdots + (10-10^{n-1})a_{n-1}+ (1-10^n)a_n \\ N-N_{rv} = 9.a_0.\underbrace{11\cdots 1}_{\text{n 11's}} + 9.10a_1. \underbrace{11\cdots 1}_{\text{n-2 11's}} + \cdots + 9.10a_{n-2}.\underbrace{11\cdots 1}_{\text{n-1 11's}} + 9.a_n\underbrace{11\cdots 1}_{\text{n 11's}} \\ \boxed{N-N_{rv} = {\color{#3D99F6}9}k } where k = a 0 . 11 1 n 11’s + 10 a 1 . 11 1 n-2 11’s + + 10 a n 1 . 11 1 n-2 11’s + a n 11 1 n 11’s \small{k = a_0.\underbrace{11\cdots 1}_{\text{n 11's}} + 10a_1. \underbrace{11\cdots 1}_{\text{n-2 11's}} + \cdots + 10a_{n-1}.\underbrace{11\cdots 1}_{\text{n-2 11's}} + a_n\underbrace{11\cdots 1}_{\text{n 11's}}}

Therefore, number created in this way are always divisible by 9 .

"Therefore, number created in this way are always divisible by 9." That wasn't the question you asked, Brilliant.org - the question is whether the answer is always a multiple of nine. Even in your own example of -198, this is not a multiple (a negative number cannot be a "multiple"). We know that multiples cannot include negatives, because if they did, this would render the definition of "least common multiple" meaningless or nonsensical, because to be "least", the least common multiple of any positive number, for example, would have to be negative infinity, to get it to the "least" (lowest) number.

Danny Landrum - 3 years, 1 month ago

Log in to reply

"is divisible by nine" means that if you divide it by nine you get a whole number. "A multiple of nine" means precisely the same thing, expressed differently - nine multiplied by a whole number. Having got the question wrong you have then erected a particularly weak straw man to defend yourself.

Thomas Sutcliffe - 3 years, 1 month ago

Log in to reply

the result of 11 is not divisible by 9. The answer provided is incorrect.

Joe deLarios - 3 years, 1 month ago

Log in to reply

@Joe deLarios ah, nm...0

Joe deLarios - 3 years, 1 month ago

All you have to do is look up the definition of multiple before answering. In many areas of math, we limit the definition for beginners (e.g., sine is opposite over hypotenuse) but expand or redefine it for advanced students (sine is the y coordinate of the point where a radius intersects the unit circle and forms angle Theta with the positive x axis). This kind of formalization and extension is routine as one advances.

Yet even simple definitions like LCM are precise, if you only look them up. LCM is defined as the smallest positive integer that is divisible by both numbers. https://en.m.wikipedia.org/wiki/Least common multiple

A Former Brilliant Member - 3 years, 1 month ago

What about single digit numbers

Theodore Landon - 3 years, 1 month ago

Log in to reply

07 07 reverse 70 70 , 7 70 = 63 = 9 × 7 7-70 = -63 = 9\times -7 . :)

Naren Bhandari - 3 years, 1 month ago

It's actually quite simple. 7 - 7 = 0 and 0 = 0 x 9

Like with the example of 44344

Timmy Vattapally - 3 years, 1 month ago

What about 11

Theodore Landon - 3 years, 1 month ago

Log in to reply

i agree. what about 11?

Joe deLarios - 3 years, 1 month ago

It's like the 44344 case shown as an example. Zero counts as a "multiple" of 9.

11 - 11 = 0 = 0 x 9

Timmy Vattapally - 3 years, 1 month ago

If any number which, when reversed, is subtracted from the original number and the resulting answer is zero, then it's not divisible by 9.

111-111=0. Zero is not divisible by 9 nor any other number.

Terrence Charest - 3 years, 1 month ago

Log in to reply

Yeah, I said no because of this kind of example. Works for every singe digit or integers consisting of one same digit

Julius Schönleber - 3 years, 1 month ago

0/9=0,which is a whole number, thus 0 is divisible by 9.

Austin David - 3 years ago

a b c c b a 100 a + 10 b + c ( 100 c + 10 b + a ) = 99 a 99 c abc - cba \\ 100a +10b +c - (100c +10b +a) = 99a-99c \\

Good solution, efficient and able to be understood by those with minimal mathematical background

Charlie Allen - 3 years, 1 month ago

Most elegant!

M O - 3 years, 1 month ago

This only works for 3 digit numbers . I think

Ram Mohith - 3 years, 1 month ago

Log in to reply

Let us try a larger number ex) abcd - dcba

(1000a +100b + 10c + d) - (1000d + 100c +10b +a) = 999a + 90b - 90c - 999d

Callum Cassidy-Nolan - 3 years, 1 month ago

Log in to reply

Then my solution to says that

Ram Mohith - 3 years ago
Uros Stojkovic
May 7, 2018

Let N N be some positive integer and N r e v N_{rev} its reverse: N N r e v = k = 0 n a k 1 0 n k k = 0 n a k 1 0 k k = 0 n a k 1 n k k = 0 n a k 1 k k = 0 n a k k = 0 n a k = 0 ( mod 9 ) \begin{aligned} N - N_{rev} &=\sum_{k=0}^{n}a_{k}\cdot10^{n-k} - \sum_{k=0}^{n}a_{k}\cdot10^{k} \\ &\equiv \sum_{k=0}^{n}a_{k}\cdot1^{n-k} - \sum_{k=0}^{n}a_{k}\cdot1^{k} \\ &\equiv \sum_{k=0}^{n}a_{k} - \sum_{k=0}^{n}a_{k} = 0~(\text{mod} ~ 9) \end{aligned}

Remember that in base 10, adding the digits does not change the residue left by 9. Rearranging the digits does not change their addition. When we take the difference, the resulting number becomes divisible by 9.

Rein Gomez
May 1, 2018

However, this does not work for numbers with the same digits.

55 - 55 = 0.

0 is divisible by 9. (I also mention in the note that 0 is divisible by 9, just because this seems to be a mistake that comes up often.)

Jason Dyer Staff - 3 years, 1 month ago

Log in to reply

How is 0 divisible by 9?

Mie magdy - 3 years, 1 month ago

Log in to reply

By definition, a number is divisible by x if when dividing by x it leaves a remainder of 0.

9 / 0 leaves a remainder of 0.

You can also think of it as some integer a existing such that 9*a equals your original number.

Jason Dyer Staff - 3 years, 1 month ago
Name Mane
May 13, 2018

10x + y - 10y - x = 9x - 9y = 9(x-y)

Ram Mohith
May 2, 2018

Case 1 : Two digit positive number . \color{#D61F06}\text{Case 1 : Two digit positive number .}

Let us assume that the 2 digit positive number is 10 x + y 10x + y . On reversing the number becomes 10 y + x 10y + x

On subtracting them : 10 x + y 10 y x = 9 x 9 y = 9 × ( x y ) 10x + y - 10y - x = 9x - 9y = 9 \times (x - y)

Therefore , the resultant 2 digit number will always be a multiple of 9 .

Case 2 : Three digit positive number. \color{#D61F06}\text{Case 2 : Three digit positive number.}

Let us assume that the 3 digit positive number is 100 x + 10 y + z 100x + 10y + z . On reversing the digits the number becomes 100 z + 10 y + x 100z + 10y + x .

On subtracting them : 100 x + 10 y + z 100 z 10 y x = 99 x 99 z = 9 × ( 11 x 11 z ) 100x + 10y + z - 100z - 10y - x = 99x - 99z = 9 \times (11x - 11z)

Therefore, the resultant 3 digit number will always be a multiple of 9.

Case 3 : Four digit positive number. \color{#D61F06}\text{Case 3 : Four digit positive number.}

Let us assume that the four digit positive number is 1000 a + 100 b + 10 c + d 1000a + 100b + 10c + d . On reversing the digits the number becomes 1000 d + 100 c + 10 b + a 1000d + 100c + 10 b + a .

On subtracting them : 1000 a + 100 b + 10 c + d 1000 d 100 c 10 b a = 999 a + 90 b 90 c 999 c = 9 × ( 111 a + 10 b 10 c 111 c ) 1000a + 100b + 10c + d - 1000d - 100c - 10b - a = 999a + 90b - 90c - 999c = 9 \times (111a + 10b - 10c - 111c)

Therefore, The resultant 4 digit number will always be a multiple of 9.

Final Conclusion : \color{#D61F06}\text{Final Conclusion : }

General form of the resultant number :

Resultant number= 9 × a \text{Resultant number= }9 \times a

Where a is the number left when the resultant number is divided by 9 .

Any number which has n numbers when reversed and when both are subtracted the resultant number will always be a multiple of 9 . \color{#20A900}\text{Any number which has n numbers when reversed and when both are subtracted the resultant number will always be a multiple of 9 . }

What if N = 123457 283930 1 millions digits N= \underbrace{123457\cdots 283930}_{\text{1 millions digits}} ? So I don't think working just for four or five different cases cannot be concluded as generalized form.

Naren Bhandari - 3 years, 1 month ago

Doesn't 11 violate that rule? 11 is a 2 digit positive integer, whose switched digit value is 11 as well, making their difference 0, a number not divisible by 9?

Mie magdy - 3 years, 1 month ago

Log in to reply

11 - 11 = 0 = 9 × 0 9 \times 0

Ram Mohith - 3 years, 1 month ago

Log in to reply

I also thought of numbers like 11, 22, 505, etc., and I was expecting that the question was a “trick” question. The question should have asked if all non-zero differences were divisible by 9.

11 - 11 = 0 = 9 x 0 can be extended for any N x 0, so this isn’t proof of divisibility by N.

Jeff Verive - 3 years, 1 month ago

Log in to reply

@Jeff Verive 0 is divisible by 9.

By definition, a number is divisible by x if when dividing by x it leaves a remainder of 0.

0 / 9 leaves a remainder of 0.

You can also think of it as some integer a existing such that 9*a equals your original number.

One of the examples given in the problem (44344) illustrates this.

Jason Dyer Staff - 3 years, 1 month ago

Log in to reply

@Jason Dyer Yes, I guess 0 is still a part of the solution set due to the odd symmetry of the solution set.

[BTW I think you meant 0/9 instead of 9/0, since the latter is undefined.]

Jeff Verive - 3 years, 1 month ago

Log in to reply

@Jeff Verive Oof, yes. Fixed.

Jason Dyer Staff - 3 years, 1 month ago

Log in to reply

@Jason Dyer Oh cool, thanks for the explanation!

Mie magdy - 3 years, 1 month ago
Mike Holden
May 11, 2018

(10a + b) - (10b+ a) = 9( a - b). When a = b, the answer is 0. Is it valid to consider 0 divisible by 9?

I said no to this answer because they clearly showed the answer was zero in one of the problems. You can't divide zero by 9.

Hagen Tannberg - 3 years ago
Robert DeLisle
May 8, 2018

Consider one digit in a 6 digit setting e.g. 050000 - 000050 = 5 × 1 0 4 5 × 1 0 1 = 5 × 10 × ( 1 0 3 1 ) = 5 × 10 × 999 5 \times 10^4 - 5 \times 10^1 = 5 \times 10 \times (10^3 - 1) = 5 \times 10 \times 999 , clearly divisible by 9. This pattern applies to all the digits of any number as follows.

A number, N N , with n + 1 digits denoted a i a_i , i.e, a n a n 1 . . . a 0 a_na_{n-1}...a_0 can be expressed as the sum N = a n 1 0 n + a 1 1 0 n 1 + . . . + a 0 1 0 0 N = a_n10^n + a_110^{n-1} +... + a_010^0 .

The same number with the digits reversed, N r N_r , can be expressed as N r = a 0 1 0 n + a 1 1 0 n 1 + . . . + a n 1 0 0 N_r = a_010^n + a_110^{n-1} +... + a_n10^0

The difference can be expressed as N N r = a n ( 1 0 n 1 0 0 ) + a n 1 ( 1 0 n 1 1 0 2 ) N - N_r = a_n (10^n - 10^0) + a_{n-1} (10^{n-1} - 10^2) + . . . a k ( 1 0 n k 1 0 k ) + . . . + a 0 ( 1 0 0 1 0 n ) + ... a_k(10^{n-k} - 10^k) + ... + a_0( 10^0 - 10^n)

In the case n-k > k ( 1 0 n k 1 0 k ) = 1 0 k ( 1 0 n 2 k 1 ) (10^{n-k} - 10^k) = 10^k(10^{n-2k} - 1) , the quantity in parentheses on the right hand side will be all 9's, divisible by 9.

In the case n-k = k ( 1 0 n k 1 0 k ) = 0 (10^{n-k} - 10^k) = 0 there is nothing to divide.

In the case n-k < k ( 1 0 n k 1 0 k ) = 1 0 n k ( 1 1 0 2 k n ) (10^{n-k} - 10^k) = 10^{n-k}(1 -10^{2k-n}) the quantity in parentheses on the right hand side will be all 9's, divisible by 9.

Thus every product in the expression is divisible by 9 therefore N N r N - N_r is divisible by 9.

Arianna Colella
May 7, 2018

The difference between any two-digit numbers whose numbers are reversed can be represented by the following expression: (10x + y) - (10y + x) If we simplify this expression, we obtain: 9x-9y, or 9(x-y), meaning that any number obtained is a multiple of 9. The same goes for three, four, five digit numbers, etc, considering that the simplification always involves subtracting two numbers that are powers of ten, which will always yield a multiple of nine.

My solution is just for some kids.... Lets start from the lowest pairs of preferably 3 :

10 - 1= 9 =1•9 , 11-11=0 =0•9 , 12-21=-9=-9•9 ,

Then, to a bit higher pairs:

42-24=18=2•9 , 43-34=18=2•9 , 44-44=0=0•9 ,

Haoran Wang
May 13, 2018

It can write as 1 0 n × k + 1 0 n 1 × q + . . . + 1 0 1 × j + 1 0 0 × r 1 0 0 × k 1 0 1 × q 1 0 n 1 × j . . . 1 0 n × r 10^{n} \times k+10^{n-1} \times q+...+10^{1} \times j+10^{0} \times r-10^{0} \times k-10^{1} \times q-10^{n-1} \times j-...-10^{n} \times r . Infact, every 1 0 α × z 1 0 β × z 10^{\alpha} \times z-10^{\beta} \times z is multiples of 9. And we can write 1 0 n × k + 1 0 n 1 × q + . . . + 1 0 1 × j + 1 0 0 × r 1 0 0 × k 1 0 1 × q 1 0 n 1 × j . . . 1 0 n × r 10^{n} \times k+10^{n-1} \times q+...+10^{1} \times j+10^{0} \times r-10^{0} \times k-10^{1} \times q-10^{n-1} \times j-...-10^{n} \times r as sum of many 1 0 α × z 1 0 β × z 10^{\alpha} \times z-10^{\beta} \times z . So it is multipies of 9.

Miraj Ali
May 13, 2018

Casting out nines

Ian Wormser
May 12, 2018

We can generalize and rewrite any of the numbers in the form 10A + B. We can then express the Frankenine process as (10A + b) - (10B + A), which simplifies to: 9A -9B, dividing by 9 we get A - B. From this we can confirm that with this process the numbers will always be divisible by 9. We also get the interesting result that for two digit numbers after the entire process the final number is the tens digit minus the ones digit (Although this doesn't work for numbers with more digits)

Lyon Liang
May 12, 2018

For any number,we could treat them as many pairs (a, b). a and b will swap position. So their subtraction result is equal to 1 0 n ( a b ) + ( b a ) = ( 1 0 n 1 ) ( a b ) 10^n(a-b)+(b-a) = (10^n-1)(a-b) . Obviously 1 0 n 1 10^n-1 could be divided by 9. So the statement is finally true.

Akshit Gupta
May 10, 2018

Let the number be 10(x)+y. So if it's digits are reversed, the number becomes 10(y)+x. If we subtact the two, we get:- 10x+y -(10y+x) So this becomes -9y+9x Taking 9 common, we get 9(x-y). Therefore the number will be always divisible by 9

Ajai Spispr
May 10, 2018
  • lets say the number is abc , Their place values are = 100a + 10b + 1c ----------(1)
  • on reversing the number as cba , The resulting place values are = 100c + 10b +1a ----------(2)
  • On subtracting (1) -(2) = 99a - 99c , Which is divisible by 9
  • This holds for all the numbers
Jam M
May 10, 2018

x = d m d m 1 d 2 d 1 = d m × 1 0 m 1 + d m 1 × 1 0 m 2 + + d 2 × 1 0 1 + d 1 × 1 0 0 x = d_m d_{m-1} \cdots d_2 d_1 = d_m \times 10^{m-1} + d_{m-1} \times 10^{m-2} + \cdots + d_2 \times 10^1 + d_1 \times 10^0

y = d 1 d 2 d m 1 d m = d 1 × 1 0 m 1 + d 2 × 1 0 m 2 + + d m 1 × 1 0 1 + d m × 1 0 0 y = d_1 d_2 \cdots d_{m-1} d_m = d_1 \times 10^{m-1} + d_2 \times 10^{m-2} + \cdots + d_{m-1} \times 10^1 + d_m \times 10^0

x y = i = 1 m + 1 2 ( d ( m + 1 ) i d i ) ( 1 0 m i 1 0 i 1 ) = i = 1 m + 1 2 ( d ( m + 1 ) i d i ) 1 0 i 1 ( 1 0 ( m + 1 ) 2 i 1 ) x - y = \displaystyle \sum_{i = 1}^{\lfloor \frac{m+1}{2} \rfloor} (d_{(m+1)-i} - d_i )(10^{m-i} - 10^{i-1}) = \displaystyle \sum_{i = 1}^{\lfloor \frac{m+1}{2} \rfloor} (d_{(m+1)-i} - d_i )10^{i-1}(10^{(m+1)-2i} - 1)

Since 1 0 ( m + 1 ) 2 i 1 10^{(m+1)-2i} - 1 is one less than a power of 10, it must be divisible by 9 i { 1 , , m } \forall i \in \{1, \cdots, m\} . Therefore, 9 x y 9 | x-y

Sauli Jämsä
May 10, 2018

let integer a be the sum of a i (i=0 to n) times 10 to the power of i, and then integer b (digits reversed) be the sum of a (n-i) (i=0 to n) times 10 to the power of i.

Then a-b = the sum of (a i - a (n-i)) times 10 to the power of i.

Now, 10 to the power of i can be written as 1 + 9 times the sum of 10 to the power of j (j=0 to i-1). (For example, 1000 = 1 + 9 times (100+10+1))

So, a-b = 9 times the sum of (a i - a (n-i)) times the sum of 10 to the power of j (j=0 to i-1) + the sum of a i - a (n-i) (i=0 to n) where the latter term is equal to zero.

The first term is obviously divisible by 9.

Sorry, I have to learn LaTeX again to make these more readable.

Sanjay Anburaj
May 9, 2018

Assuming that the ten's place digit to be 'y' and unit's place digit to be 'x',then Any two digit number can be written as {10y+x} Reversing the numbers. {10x+y} Subtracting them (10y+x)- (10x+y)=9y-9x =9(y-x). It is divisible by 9. Same like this for other many digits numbers.

Divyansh Singhal
May 9, 2018

Remainder of a number when divided by 9 is simply the summation of digits. Reversing the order doesn't change the sum of digits. Let the number be r(mod 9) . Remainder of the New number(reverse digits) is also r. Difference of numbers leaves remainder of r-r=0 Hence always divisible by nine

Jeovanni Orong
May 8, 2018

Sample 69 and 96 let x=6 ; y=9 ; Z=difference 69=60+9
or 10x+y

96=90+6
or 10y+x

Then subtract Z= 96-69 Z=10x+y - (10y+x) Z= 9x-9y Z=9(x-y)

Therefore Z is always divisible by 9

Pierre Arpin
May 8, 2018

General case is (10x + y) - (10y+x) = (10x-x)+ (y-10y) = 9x-9y = 9*(x-y) Therefore the equation is always divisible by 9.

Kane Cardwell
May 8, 2018

There's some serious proofs here. I'm just going to put my thinking too.

(10X)+(y) is the first double digit number. Therefore (10y)+(X) is the reverse So the whole sum is (10x+y)-(10y+x) = z And the question asks whether z is a multiple of 9, well simplifying I got 9x-9y = z Or 9(x-y) = z and as X and y are integers so will x-y.

I did the same with 3 digits (100w+10x+y)-(100y+10x+w)= 99w-99y= z And seeing as the coefficient is 99 is a multiple of 9 I figured it was right again and it would continue like that. (1000p+100w+10x+y)-(1000y+100x+10w+p)= 999p+90w-90x-999y=z 9(111p+10w-10x-111y) = z etc etc

I know it's not proof but I think it should get partial marks.

Alp Ugur
May 8, 2018

Lets think about a 3 digit number ABC We know that ABC is:100A+10B+C We can write ABC-CBA as this: 100A+10B+C-100C-10B-A=99A-99C And we can get the common factor of 9 from there This also works for numbers with more/less digits than 3

Aditya Sharma
May 8, 2018

For 2 digit no. ab (10a+b)-(10b+a)=9(a-b)

For three digit no. abc (100a+10b+c)-(100c+10b+a)=99(a-c)

And so on so it will be divisible by 9 always

Roberto Ruggiero
May 7, 2018

Specificando che i numeri sono in base 10 quindi a base pari (2n) invertendo le cifre si avrà un numero divisibile per la base pari -1 Se sottraggo 203 a 302->302-203 però in base 4 otterrò un numero divisibile per 3 in base 4 ovvero 33

Victor Dumbrava
May 7, 2018

We know that:

d 1 d 2 d n 1 d n d n d n 1 d 2 d 1 = k = 1 n 1 0 n k d k k = 1 n 1 0 k 1 d k \overline{d_1d_2\cdots d_{n-1}d_n}-\overline{d_nd_{n-1}\cdots d_2d_1}=\sum_{k=1}^n 10^{n-k}d_k-\sum_{k=1}^n 10^{k-1}d_k

A more "explicit" form would be:

d 1 d 2 d n 1 d n d n d n 1 d 2 d 1 = 1 0 n 1 d 1 + 1 0 n 2 d 2 + + 10 d n 1 + d n 1 0 n 1 d n 1 0 n 2 d n 1 10 d 2 d 1 \overline{d_1d_2\cdots d_{n-1}d_n}-\overline{d_nd_{n-1}\cdots d_2d_1}=10^{n-1}d_1+10^{n-2}d_2+\cdots+ 10d_{n-1}+d_n-10^{n-1}d_n-10^{n-2}d_{n-1}-\cdots-10d_2-d_1

This can be further simplified to:

d 1 d 2 d n 1 d n d n d n 1 d 2 d 1 = k = 1 n d k ( 1 0 n k 1 0 k 1 ) \overline{d_1d_2\cdots d_{n-1}d_n}-\overline{d_nd_{n-1}\cdots d_2d_1}=\sum_{k=1}^n d_k(10^{n-k}-10^{k-1})

And since the difference between two powers of 10 10 is always a multiple of 9 9 , are are summing n n multiples of n, hence obtaining a multiple of 9 9 as well. Conclusion: Yes, the numbers Dr. Frankenine creates in this way are always multiples of 9 9 .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...