5 digit number that when multiplied by 4 gives the number in reverse order
Answers
Let be our 5 digit number.
Our number when multiplied by 4 gives its reverse, i.e.,
[N.B.: Here and are digits of the numbers and they're not multiplied to each other.]
So is a 5 digit number which is less than 1 lakh, i.e.,
Since is a 5 digit number,
(10,000 is not an answer.)
Then,
This means ten-thousands digit of should be either 1 or 2.
This is also ones digit of which is even. So should be.
So ones digit of is 2, then ones digit of must be either 3 or 8.
But since ten-thousands digit of is 2,
Then ten-thousands digit of should be either 8 or 9.
Now and
is a multiple of 4, so should the 2 digit number formed by joining its ones and tens digits be, i.e., should be a multiple of 4.
Then should be odd. (12, 32, 52, 72 and 92 are multiples of 4.)
But since ten-thousands digit of is 8,
Then thousands digit of should be either 0, 1 or 2.
Now and
ends in 12 so should end in any of these four 2 digit numbers:- 03, 28, 53, 78.
(because for every non - negative integer one-fourth of is which ends in any of the above 4 numbers.)
Since ones digit of is 8, should end in either 28 or 78.
Assume it's 28. Then starts with 82.
But the thousands digit of is 1 which when multiplied by 4 gives 4. So thousands digit of should be where is the remainder carried out on multiplying hundreds digit of i.e., by 4.
Then followed by which contradicts our assumption since possible values of are 0, 1, 2 and 3 because of the multiplier 4.
Now, the following happens when we multiply by 4.
→ e = 8 multiplied by 4 gives a = 2 with remainder 3 (8 × 4 = 32).
→ d = 7 multiplied by 4 gives b = 1 with remainder 3 (7 × 4 + 3 = 31).
→ c multiplied by 4 makes one digit of 4c + 3 equal to c, with remainder 3.
→ b = 1 multiplied by 4 gives d = 7 with remainder 0 (1 × 4 + 3 = 7).
→ a = 2 multiplied by 4 gives e = 8 (2 × 4 + 0 = 8).
As in 3rd point the remainder must be 3 in order to advance to 4th point.
And according to the 3rd point,
Hence our number is 21978.
Answer:
21978 is the answer.
21978 x 4 = 87912
I just used a simple loop from 10000 to 99999 and multiplied each number by 4, converted to a String, and checked to see if the String reversed was equal to the original number as a String.