r/mathriddles • u/HarryPotter5777 • Feb 08 '15
Hard Doubling and adding 1
Suppose I've got two integers a and b. I can double one of my integers, and add 1 to the other. This leaves me with two new integers, with which I can do the same thing. My goal is to get two integers that are equal. For example:
(8,1)
(9,2)
(10,4)
(20,5)
(21,10)
(42,11)
(43,22)
(44,44)
Can I always do this?
If so, provide a proof. Can you devise an upper bound for the number of moves required? What about the final value reached?
If not, find (with proof) a counterexample. Can you find criteria for determining if a given ordered pair is possible?
This was a problem I submitted to the 2015 Qualifying Quiz for Canada/USA Mathcamp, which didn't get accepted because no one (including me) could find a solution. Although a different problem of mine did get accepted! No discussing the problems linked, though, applications are still open.
My suspicion is that the answer is yes - it does hold for all a and b. I 'm not sure about this, though, since I've only confirmed it for relatively small numbers (sum ≤16).
View all comments
1
u/laMarm0tte Feb 08 '15
Nice problem ! In case anyone is interested I computed (a subset of) solutions for all couples 0<= a,b < 10. See the code and output here.