I first encountered this question in an assignment in our Graph Theory and Combinatorics course. Later, I also saw this in an MSE post and answered immediately. I was extremely happy to be able to solve this problem and now seems to be a good time to put it on this blog.
Problem Statement -
Let . Find the smallest natural number such that every -element subset of contains pairwise relatively prime numbers.
Solution -
Before we begin with the real question, we note that . This means that all composite numbers below must have one prime factor in the set . We will use this fact in our answer.
First, we will consider the subset of that only contains multiples of and . We can use Principle of Inclusion and Exclusion to find the cardinality of as
which gives .
Now, note that, only has multiples of four prime numbers. So, using Pigeon Hole Principle, we can say that any five elements of must have at least two multiples of a particular prime, which proves that any element subset of is NOT pairwise relatively prime.
This proves that if we want to have an -element subset of such that any five of them will be relatively prime, then we must have .
Now, notice that the cardinality of is and contains exactly prime numbers (namely, and ). So, the other numbers in (and hence in ) are composite.
Let us try to find the other composite numbers in . These must be of the form or for some such that (since all multiples till have already been counted). It is easy to check that the only such composite numbers are . That gives precisely more composite numbers in . So, has composite numbers and primes (with a which neither).
Now, consider a subset of such that . We claim that there are five elements in such that any two of them are pairwise relatively prime. To prove that, let us assume on the contrary that our claim is false. So, any five element subset of must have two relatively non-prime elements. This forces the number of prime numbers in to be less than or equal to since if there are more than four prime numbers, then the set of these primes has all pairwise relatively prime numbers. So, there are at most four primes in which means that there are at least composite numbers in . This means that the number of composite numbers outside (i.e., in ) is at most .
Now, consider the following eight sets
and note that the elements in these sets are all distinct because of the Unique Factorization Theorem. Also, since there are eight sets, and at most seven composite numbers can be outside , by the Pigeon Hole Principle, at least one of these sets must be in . Also, clearly, in all of the above sets, the elements are mutually co-prime.
This completes the proof.
No comments:
Post a Comment