From the digits , find the smallest possible value of such that, for any two distinct digits from this set, there exists a number among the numbers (each number is a four-digit number formed from these digits) which contains both of them.
Solution
Answer: .
Let some digit, say , appear exactly in numbers from given numbers. Hence, forms at most distinct pairs with the remaining digits of any of these numbers. Since the total number of all distinct pairs formed by and the other numbers () is equal to , we see that . So . Therefore, each of the digits must appear in at least numbers. Thus, the total number of all digits in numbers is greater than or equal to . But numbers contains exactly digits. Therefore, , so .
The following example shows that there are four-digit numbers satisfying the ...
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.