MathLabs

Problem 3

Determine all positive integers kk for which there exist a positive integer mm and a set SS of positive integers such that any integer n>mn>m can be written as a sum of distinct elements of SS in exactly kk ways.
Step 2 of 5: Construction for k=2^a
A={1,2,4,8,…},S=A∪B′, ∣B′∣=a, B′⊆N∖AA=\{1,2,4,8,\ldots\},\quad S=A\cup B',\ |B'|=a,\ B'\subseteq\mathbb{N}\setminus A
Detailed analysis

Let AA be the powers of two and let B′B' be any set of aa positive integers not in AA. Put S=A∪B′S=A\cup B'. Every nonnegative integer has a unique representation as a sum of distinct powers of two, so for tt larger than the sum of B′B' and any subset B′′⊆B′B''\subseteq B', the number t−s(B′′)t-s(B'') has a unique representation using AA; letting B′′B'' range over the 2a2^a subsets of B′B' shows tt has exactly 2a2^a representations as a sum of distinct elements of SS.