Question 20

$$a$$ and $$b$$ are both 4-digit numbers, $$a > b$$ and one is obtained from the other by reversing the digits. Determine $$b$$ if $$\frac{a + b}{5} = \frac{b - 1}{2}$$.


Correct Answer: 0

The condition gives $$2a + 2b = 5b - 5$$, i.e. $$2a = 3b - 5$$. Write $$b = \overline{pqrs}$$ and $$a = \overline{srqp}$$; since $$a < \frac{3b}{2}$$ and $$a > b$$, the first digits satisfy $$p \le s \le \frac{3p}{2} + 1$$, and since $$2a = 3b - 5$$, comparing last digits gives $$2p \equiv 3s - 5 \pmod{10}$$. Checking the resulting cases, the equation $$2 \times \overline{srqp} = 3 \times \overline{pqrs} - 5$$ is satisfied by $$b = 2003$$, $$a = 3002$$ (check $$\frac{5005}{5} = 1001 = \frac{2002}{2}$$) and also by $$b = 6359$$, $$a = 9536$$ (check $$\frac{15895}{5} = 3179 = \frac{6358}{2}$$). So $$b = 2003$$ or $$b = 6359$$.

Was this solution helpful?

Get AI Help

50,000+ JEE Students Trusted Our Score Calculator

Predict your JEE Main percentile, rank & performance in seconds

Ask AI