Problem 6
For each positive integer , let be the number of ways to represent as a sum of powers of with non-negative integer exponents; order of summands is ignored. For example, . Prove that for every integer , .
Step 1 of 5: Derive the recurrence
In plain words
Derive the recurrence
Detailed analysis
An odd total must contain a , and removing one gives the first identity. For an even total, representations containing a correspond to those of one less even total, while representations without a halve to representations of ; this gives the second identity.