There are two urns each containing an arbitrary number of balls. Both are non-empty to begin
with. We are allowed two types of operations:
$(a)$ remove an equal number of balls simultaneously from the urns, and
$(b)$ double the number of balls in any one of them.
Show that after performing these operations finitely many times, both the urns can be made
empty.
This question has been asked atleast $3$ times [1][2][3], but none of them seem to use the approach I am using. Now I am not sure whether my approach is correct or not, but I want to verify it.
My Approach:
Let $A$ be the number of balls in urn $1$ and $B$ be the number of balls in urn $2$ at any given time.
Let the urns contain $x_1$ and $y_1$ balls respectively initially. ($x_1<y_1$ without loss of generaity of course)
Subtract $x_1-1$ balls from both urns thus giving $(1,y_1-x_1+1)$ as the new configuration.
Keep doubling the lower number until $|A-B|$ reach the lowest value possible.
Suppoe the lowest value of $|A-B|$ is reached at configuration $(x_2,y_2)$. Subtracting one less than the lower number of $x_2,y_2$ (suppose $x_2$) gives $(1,y_2-x_2+1)$ as the new configuration.
It can be clearly seen that $|y_2-x_2|\leq|y_1-x_1|$. Thus continuing this process will result in continuous reduction in the value of $|A-B|$ until it reaches its lowest value, ie $0$.
At that stage, we would have $A=B$. Thus taking $A$ balls out of both urns would empty both urns.
$\therefore $ Both urns can be emptied in finite number of operations.
I know that simpler approaches are possible for this question, but I want to check whether my approach is also correct or not. Please check my approach and provide suggestions. Also sorry for I couldn't think of a better title.
THANKS
Best Answer
Suppose we have $x_1,y_1$ balls in urns $A,B$ respectively. We can take the following cases:
Our process will definitely end because $y_1>y_2>\cdots$ is a strictly decreasing sequence of positive integers and we cannot have an infinite strictly decreasing sequence of positive integers. So at some step, we will end up at $x_n=y_n$ when we will empty both the urns (this is precisely the case mentioned in the last line of Case 2 above).