MathLabs

Problem 6

For each positive integer N N , let f(N) f(N) be the number of ways to represent N N as a sum of powers of 22 with non-negative integer exponents; order of summands is ignored. For example, f(4)=4 f(4)=4. Prove that for every integer n≥3 n\ge3, 2n2/4<f(2n)<2n2/22^{n^2/4}<f(2^n)<2^{n^2/2}.
Step 2 of 5: Record monotonicity
In plain words

Record monotonicity

f(N)≤f(N+1)f(N)\le f(N+1)
Detailed analysis

The recurrence shows that f f is nondecreasing. Iterating f(2r)=f(2r−2)+f(r) f(2r)=f(2r-2)+f(r) gives f(2N)=∑j=0Nf(j) f(2N)=\sum_{j=0}^{N}f(j). Hence f(2n+1)<(2n+1)f(2n) f(2^{n+1})<(2^n+1)f(2^n) for n≥2 n\ge2, because the sum has 2n+12^n+1 terms and all terms except the harmless j=0 j=0 are at most f(2n) f(2^n).