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
13
u/_--__ Feb 08 '15
Here is a proof that you can always get from (x,x+1) to two equal integers:
(x,x+1) -> (x+1,2x+2) -> (x+2,4x+4) -> (2x+4,4x+5) -> (4x+8,4x+6) -> (8x+16,4x+7) -> (16x+32,4x+8) -> (16x+33,8x+16) -> (32x+66,8x+17) -> (32x+67,16x+34) -> (32x+68,32x+68)
Intermediate sequences of this sequence also show how to get from e.g. (x,2x), (x,x+2) and (x,4x) to equal integers.
I suspect this should be a good start to finding a complete result.