There are two number a and b. both are four digit numbers . a is reverse of b and a is four time of b.

a = reverse(b)

AND

a = 4*b

how to find a and b? with explaination

Printable View

- Jun 8th 2013, 09:54 AMashoksinghSimple Math problem
There are two number a and b. both are four digit numbers . a is reverse of b and a is four time of b.

a = reverse(b)

AND

a = 4*b

how to find a and b? with explaination - Jun 8th 2013, 01:52 PMHallsofIvyRe: Simple Math problem
Write the digits of a as "pqrs". The a= 1000p+ 100q+ 10r+ s and b= 1000s+ 100r+ 10q+ p. a= 4b becomes 1000p+ 100q+ 10r+ s= 4(1000s+ 100r+ 10q+ s).

If p, q, r, and s could be any real numbers there would be an infinite number of solutions. But here we know that p, q, r, and s must be integers from 0 to 9 (and, presumably, neither p nor s are 0). - Jun 8th 2013, 05:22 PMSorobanRe: Simple Math problem
Hello, ashoksingh!

Quote:

. .

. .

. .

.

.

. .

. .

. .

. .

. .

. .

Finally, we have:

. .

- Jun 9th 2013, 07:44 AMsakonpure6Re: Simple Math problem
I can do a C++ program for you to solve the problem if you want?!

- Jun 9th 2013, 04:43 PMtopsquarkRe: Simple Math problem