I have a set of positive integers , the largest element of which is The sum of elements of any subset of is different from the sum of elements of any other subset of . Find the maximum value of the number of elements in when .
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
This problem involves constructive thinking. The statement asks us to get as many elements as possible within the given range. Start greedily with the two elements 1, 1. Of course we can't have 2 in the set, so next comes 3. We can't have 4, 5 in the set, so next comes 6. Next comes 12, then 24 and so on. This sequence has 12 elements before it exceeds 2017.
You should be able prove inductively that a new element cannot be less than 2 times the largest of the set/sequence constructed so far (which is akin to proving that any number less than that can be expressed by the previously constructed set).