Magic number

Define a number magical if the number are reversed, the absolute difference are divisible by 9.

How many 2 digit numbers that are not magical?? ( A Magical number doesn't end with 0)

69 is magical because 69-96 = -27, 27 is divisible by 9


The answer is 9.

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.

2 solutions

Sharky Kesa
Apr 7, 2015

Note that all 2 digit numbers can be written as 10 a + b 10a + b where a a and b b are the digits. Thus, we have

( 10 a + b ) ( 10 b + a ) = 9 a 9 b = 9 ( a b ) \begin{aligned} (10a + b) - (10b + a) &= 9a - 9b\\ &=9(a - b) \end{aligned}

Clearly, this is divisible by 9, which implies that all 2 digit numbers are magical. But sine magical numbers do not end in 0, there are 9 numbers which are not magical. Therefore, the answer is 9.

Noel Lo
Jul 5, 2015

Haha...nice trick question!

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...