Problem 3
Determine all positive integers for which there exist a positive integer and a set of positive integers such that any integer can be written as a sum of distinct elements of in exactly ways.
Step 2 of 5: Construction for k=2^a
Detailed analysis
Let be the powers of two and let be any set of positive integers not in . Put . Every nonnegative integer has a unique representation as a sum of distinct powers of two, so for larger than the sum of and any subset , the number has a unique representation using ; letting range over the subsets of shows has exactly representations as a sum of distinct elements of .