# Need Help!!! Simple math puzzle

• Jun 8th 2013, 10:58 AM
ashoksingh
Need Help!!! Simple math puzzle
There are two number a and b.
Both are 4 digit number .
a is reverse of b
a is four time of magnitude of b ( a = 4 *b)
how to find a and b ??
Explain plese
• Jun 8th 2013, 01:13 PM
emakarov
Re: Need Help!!! Simple math puzzle
What have you tried?

Let a = 1000x + 100y + 10z + w where x, y, z, w ∈ {0, ..., 9}, i.e., xyyw = 4 * wyzx. (Sometimes a line is written over xyzw to show that letters stand for individual digits of a single number and to distinguish this expression from a product.)

The following will get you started. There are only two possible values for w. Why? One can easily see (without considering other digits) that the first of those values is impossible. The second one passes that test and determines x. Now, similar to the case of w, there are only two options for z. Consider both options; in each one you already know three digits.

• Jun 30th 2013, 11:44 AM
Soroban
Re: Need Help!!! Simple math puzzle
Hello, ashoksingh!

Quote:

$\text}There are two 4-digit numbers: }\,a\text{ and }b.$
$a\text{ is reverse of }b.\;\;a\text{ is four times the size of }b.$

$\text{Find }a\text{ and }b.$

Let $b \,=\,ABCD$
Let $a \,=\,DCBA$

We have:

. . $\begin{array}{cccc}^1 & ^2 & ^3 & ^4 \\ A&B&C&D \\ \times &&&4 \\ \hline D&C&B&A \end{array}$

In column-1, we see that: $4\times A \,=\,D$
. . Hence, $A = 1\text{ or }2.$

In column-4, we see that: $D\times 4$ ends in A.
. . Hence, $A$ must be even: $A = 2.$

We have:

. . $\begin{array}{cccc}^1 & ^2 & ^3 & ^4 \\ 2&B&C&D \\ \times &&&4 \\ \hline D&C&B&2 \end{array}$

In column-4, $D \times 4$ ends in 2.
. . Hence, $D = 3\text{ or }8.$
In column-1, we have $2 \times 4.$
. . Hence, $D = 8.$

We have:

. . $\begin{array}{cccc}^1 & ^2 & ^3 & ^4 \\ 2&B&C&8 \\ \times &&&4 \\ \hline 8&C&B&2 \end{array}$

In column-3, we have: $C \times 4 + 3$ ends in $B.$
In column-2, we have: $B \times 4 + \text{(carry)} \:=\:C$

With some trial-and error, we find that: $C = 7,\:B = 1.$

Therefore:

. . $\begin{array}{cccc} 2&1&7&8 \\ \times &&&4 \\ \hline 8&7&1&2 \end{array}$