Let n be a positive integer, and let A be a subset of {1,⋯,n}. An A-partition of n into k parts is a representation of n as a sum n=a1+⋯+ak, where the parts a1,⋯,ak belong to A and are not necessarily distinct. The number of different parts in such a partition is the number of (distinct) elements in the set {a1,a2,⋯,ak}.
We say that an A-partition of n into k parts is optimal if there is no A-partition of n into r parts with r<k. Prove that any optimal A-partition of n contains at most 36n different parts. inductioncombinatoricsAdditive combinatoricspartitionIMO Shortlist