Problem 3
A function on positive integers is defined by , , , , and . Determine the number of positive integers for which .
Step 2 of 6: Step 2
Detailed analysis
Induction on binary length gives: if odd n has digits 1b_r...b_1 1, then f(n) has digits 1b_1...b_r1. Thus f reverses exactly the interior block.