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 7 of 7: Confirm every ℓ≥1 gives an infinite integer cycle
Detailed analysis
For , , so the large rule repeatedly halves the exponent by (each term an integer power of two) until it reaches . From (true also directly when ): since , ; since , halving gives ; since , halving gives , returning to the start of the cycle . Every term in this cycle, and every term in the initial descent from , is a positive integer. Hence with produces an all-integer sequence.