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 1 of 7: Bound the odd part
Detailed analysis
Write each term as with odd. If some , then as long as we have , so the halving rule applies and decreases by while is unchanged; once reaches , the term equals the odd number , which still triggers halving, but odd makes non-integer. So if every term is an integer, for all .