Problem 2
Let be a fixed positive integer. The infinite sequence is defined in the following way: is a positive integer, and for every integer , if , and if . For each , determine all possible values of such that every term of the sequence is an integer.
Step 4 of 7: The landing point forces m=2
Detailed analysis
Once every term is a power of two, say , the large rule fires while and decreases by exactly each time, so the first exponent below that is reached is always exactly ; this is precisely where the small rule next fires. By step 3, staying at odd part forever requires every such landing to be the borderline case , i.e. . Since the landing exponent is always , consistency forces , i.e. ; for any other , this landing would produce odd part , and repeating the argument of step 3 shows the odd part would eventually exceed , contradicting step 1. So is the only possible value.