Problem 4
Consider the function , where is the set of all non-negative integers, defined by , and for all . (a) Determine the three sets , , and . (b) For each , find a formula for in terms of .
Step 2 of 6: Bound the successive difference
Detailed analysis
Prove by induction that f(n+1)−f(n)≤n. For even n=2t the difference equals t. For odd n=2t+1, the induction hypothesis at t gives 2(f(t+1)−f(t))−t≤t<n.