Math, asked by thomaskiran7126, 1 year ago

5 digit number that when multiplied by 4 gives the number in reverse order

Answers

Answered by shadowsabers03
5

Let \small\text{$n=10,000a+1,000b+100c+10d+e=abcde$} be our 5 digit number.

Our number when multiplied by 4 gives its reverse, i.e., \small\text{$4n=edcba=10,000e+1,000d+100c+10b+a.$}

[N.B.: Here \small\text{$a,\ b,\ c,\ d$} and \small\text{$e$} are digits of the numbers and they're not multiplied to each other.]

So \small\text{$4n$} is a 5 digit number which is less than 1 lakh, i.e.,

\small\text{$\longrightarrow 4n<1,00,000$}

\small\text{$\longrightarrow n<25,000$}

Since \small\text{$n$} is a 5 digit number,

\small\text{$\longrightarrow n>10,000$}

(10,000 is not an answer.)

Then,

\small\text{$\longrightarrow 10,000<n<25,000$}

This means ten-thousands digit of \small\text{$n$} should be either 1 or 2.

\small\text{$\Longrightarrow a\in\{1,\ 2\}$}

This \small\text{$a$} is also ones digit of \small\text{$4n$} which is even. So should \small\text{$a$} be.

\small\text{$\Longrightarrow\underline{a=2}$}

So ones digit of \small\text{$4n$} is 2, then ones digit of \small\text{$n$} must be either 3 or 8.

\small\text{$\Longrightarrow e\in\{3,\ 8\}$}

But since ten-thousands digit of n is 2,

\small\text{$\longrightarrow n>20,000$}

\small\text{$\longrightarrow 4n>80,000$}

Then ten-thousands digit of \small\text{$4n$} should be either 8 or 9.

\small\text{$\Longrightarrow\underline{e=8}$}

Now \small\text{$n=2bcd8$} and \small\text{$4n=8dcb2.$}

\small\text{$4n$} is a multiple of 4, so should the 2 digit number formed by joining its ones and tens digits be, i.e., \small\text{$b2$} should be a multiple of 4.

Then \small\text{$b$} should be odd. (12, 32, 52, 72 and 92 are multiples of 4.)

\small\text{$\longrightarrow b\in\{1,\ 3,\ 5,\ 7,\ 9\}$}

But since ten-thousands digit of \small\text{$4n$} is 8,

\small\text{$\longrightarrow80,000<4n<90,000$}

\small\text{$\longrightarrow20,000<n<22,500$}

Then thousands digit of \small\text{$n$} should be either 0, 1 or 2.

\small\text{$\Longrightarrow\underline{b=1}$}

Now \small\text{$n=21cd8$} and \small\text{$4n=8dc12.$}

\small\text{$4n$} ends in 12 so \small\text{$n$} should end in any of these four 2 digit numbers:- 03, 28, 53, 78.

(because for every non - negative integer \small\text{$k,$} one-fourth of \small\text{$100k+12$} is \small\text{$25k+3$} which ends in any of the above 4 numbers.)

Since ones digit of \small\text{$n$} is 8, \small\text{$n$} should end in either 28 or 78.

Assume it's 28. Then \small\text{$4n$} starts with 82.

But the thousands digit of \small\text{$n$} is 1 which when multiplied by 4 gives 4. So thousands digit of \small\text{$4n$} should be \small\text{$d=4+m$} where \small\text{$m$} is the remainder carried out on multiplying hundreds digit of \small\text{$n, $} i.e., \small\text{$c,$} by 4.

Then \small\text{$4+m=2$} followed by \small\text{$m=-2$} which contradicts our assumption since possible values of \small\text{$m$} are 0, 1, 2 and 3 because of the multiplier 4.

\small\text{$\Longrightarrow\underline{d=7}$}

Now, the following happens when we multiply \small\text{$n$} 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,

\small\text{$\longrightarrow 4c+3=10(3)+c$}

\small\text{$\longrightarrow 4c+3=30+c$}

\small\text{$\longrightarrow\underline{c=9}$}

Hence our number is 21978.

Answered by BeepPeepMeep
1

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.

Similar questions