Browse · MathNet
PrintIreland
Ireland counting and probability
Problem
A given list of positive integers has the property that is different from whenever are distinct integers less than . Find the minimum number of distinct integers that must be in any such list.
Solution
Suppose a list is made up only of numbers selected from the (possibly much shorter) list of distinct numbers , and that the products , , are all distinct. We write down the indices of the numbers occurring in as another list also of length , e.g. if begins , then begins . If and , the product is determined by the set . Hence, any two (not necessarily distinct) numbers from can appear as neighbours in the list at most once. As contains elements, there must exist at least different subsets of with one or two elements. Note that, by usual conventions of set theory, contains only one element. The number of such subsets is equal to and so we need to have , i.e. . That is indeed sufficient follows from the construction of a sequence given below. We will in fact construct for each odd number a 'cycle' of numbers such that each subset of with one or two elements appears exactly once as a set of neighbours in the cycle. A 'cycle' of numbers is simply a list in which the first and last element coincide. Two such 'cycles' of length are said to be equivalent iff we obtain the same result, up to rotation, if their numbers are cyclically written at the vertices of a regular -gon, whereby the first and last element of the list are written on the same vertex. To prove the existence of such a cycle, we first form the set of all subsets of with one or two elements. Note that each number appears times in a two-element subset and once in a singleton. We start the sequence with and remove from the sets which appear as neighbours already. We repeatedly do now the following: If is the last element of our list and there is a set in which contains , we pick such a set, remove it from and append (if the set was a singleton) or the second element of this set (if it was a two-element set) to the list. Because is even, if is not empty but does not contain a set which contains the last element of our list, then the last element of our list must coincide with the first element of our list, i.e. the list is a cycle. In this case, we replace it by an equivalent cycle which has an element as its first and last element which appears in one of the sets in . This is possible because we started our list in such a way that it contains all numbers at least once. After replacing the cycle by an appropriate equivalent one, we continue as above appending elements to the list. This process can be continued until all elements of are used. The result is a list which contains all possible neighbour-subsets exactly once. If , the list will have length . By discarding the last elements we obtain a list with elements. Let be this list and let be the -th prime number. Defining we obtain a list which satisfies the conditions of the problem.
Final answer
63
Techniques
Pigeonhole principleCounting two waysGames / greedy algorithmsPrime numbers