I have to find all the digits $a$ and $b$ such that $7ab + 4ba = 1a21$.
Note: there is no multiplication, those are three decimal numbers.
I put this equality this way: $$7\cdot100 + a \cdot 10 + b + 4 \cdot 100 + b \cdot 10 + a = 1 \cdot 1000 + a \cdot 100 + 2 \cdot 10 + 1$$ $$1\cdot 1000 + (a-11)\cdot 100+(2-a-b)+1-a-b=0$$
So, our number will be something like this: $1(a-11)(2-a-b)(1-a-b)=0$. This is contradiction since the first digit is $1$, and on the right we have $0$.
Does that mean there are no $a$ and $b$ to satisfy this equality?
Alternatively, I did the following: since the last digit in $1a21$ is $1$, it has to be $a+b=L1$. $a$ and $b$ are digits, so there are couple of cases: $a=0$ and $b=1$, $a=1$ and $b=0$, $a=5$ and $b=6$, $a=6$ and $b=5$... None of those cases satisfy what we want, so there are no $a$ and $b$.
Are those two ways to do it the right ones? I don't have any solutions therefore I'm not sure. Thank you.
NOTE: For your work, we also have cases $(2,9)$, $(3,8)$ ... to check.
Here's what I did:
We start from the left, by the fact that $7 + 4 = 1a$, we must have $a = 1$ or $a = 2$, since either there is a carry or not.
From the one's digit, we have that : For $a = 1$, we must have $b = 0$. For $a = 2$, we must have $b = 9$.
Now let us try it, we have $710 + 401 = 1111$, which is impossible. We have $729 + 492 = 1221$, which corresponds to a solution.