Special Numbers

Logic Level 3

Suppose M M is a four-digit positive integer such that 4 M 4M is also a four-digit number and 4 M 4M has the same digits as M M , but in the reverse order. Find the sum of all possible M M .

As an illustration, if M M is of the form a b c d \overline{abcd} , then 4 M 4M is of the form d c b a \overline{dcba} , where a a , b b , c c and d d are digits.


The answer is 2178.

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.

1 solution

1000 < M < 2500 1000 < M < 2500 becuase if M 2500 M \ge 2500 then 4 M 10000 4M \ge 10000 , and M isn't able to start for 1, because there doesn't exist any integer number M M such that 4 M 4M ends at 1. So, 2000 M < 2500 2000 \leq M < 2500 . Therefore, with the same previous reasoning M = 2 b c 8 M = 2bc8 because M M only can end at 8 or 9, but there doesn't exist any integer M M such that 4 M 4M ends at 9 and this implies that b = 0 or 1 or 2 b = 0 \text{ or } 1 \text{ or } 2 because if M 2308 M \ge 2308 then 4 M 9232 4M \ge 9232 ( and this is a contradiction). With hit and trial about c c the only possibility is c = 7 c = 7 ... And hence, the only number is 2178 2178 ,,,,,, 4 × 2178 = 8712 4\times 2178 =8712

Yes,that is the way I approached the problem.Nice solution.

Indraneel Mukhopadhyaya - 4 years, 11 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...