How to prove that, among any +1 distinct odd integers from {1,…,3}, at least one will divide another?

903 Views Asked by At

This was one of the exercises in my textbook and I've been working on it for well over 10 hours over the span of 3 days without much progress. I don't think that it's even supposed to be a hard problem so I just give up at this point. (If it were a hard problem then I would have been more motivated knowing it's supposed to be a challenge). It asks

Assume that $n$ is a positive integer. Prove that if one chooses $n+1$ distinct odd integers from $\{1, 2, 3, \dots, 3n\}$ then at least one of these numbers will divide another.

This was on a section on the pigeonhole principle so I've used that in my failed attempts below. My goal was to find a formula for the $m$th box such every box included all the primes and composite numbers in the set. Earlier in the book, there was an example of a problem that asked something similar. It was about choosing 101 numbers from the set of numbers between 1 and 200. And there it was easy to consider the primes, after all, there were a known number of them. But in this problem, there is no way to accurately determine the number of primes between $0$ and $3n$, at least with my current knowledge.

Attempt 1

I first thought that you could simply put $n$ and $3n$ in the same box. But where do prime numbers greater than $n$ go? Where do multiples of $5$ go? They can't be a multiple of $3$, so this won't work.

Attempt 2

What if we considered the first $n$ odd numbers in the list? Every number greater than $n$ must be a product of these numbers. Oh, but what about the primes greater than $n$ again?

Attempt 3

At this point I realized something. Formulas for groups of numbers in the $m$th box can't have prime numbers. So what if the $m$th box contained the $m$th prime number? Then the rest of the numbers in the box could be multiples of this prime. Or they could be this prime times some other number to the $k$th power ($p_m \cdot c^k$). But where do numbers like $15$ and $25$ go? If $15$ goes into the box, then $25$ can't go in the same box because $15$ doesn't divide $25$. If $25$ goes in the box, then where does $15$ go?

Details I noticed while working on the exercise

Some of these may be repeats of what I've mentioned throughout the post.

  • Conjecture (could be wrong): One must choose at least one prime number. Then if this were true if we had the boxes containing the $m$th prime number then all we would have to do is prove that one other number had this prime number in its prime factorization.
  • Notice that $abc$ divides $abcd$. What if we used this property to our advantage? If some box had some number, then the other boxes could be a multiple of this number.
  • Again, since we don't know how many primes are in the set, then the boxes must be based on the primes. Right?
  • All odd numbers in $[2n-1, 3n]$ must be expressed as the products of numbers in $[1, 2n-1]$.
2

There are 2 best solutions below

5
On BEST ANSWER

Your attempt 1 is actually a correct approach.

Assume that for an odd integer $k$ not divisible by 3, box $k$ contains all the odd numbers from $\{1,2,\ldots, 3n\}$ that are of the form $3^ik$, where $i$ is a non-negative integer. Then among any two numbers in a box $k$, one divides the other.

For example box 1 contains all the numbers of form $3^i$ and box 5 all the numbers of form $5\cdot 3^i$

Now, you have box 1, box 5, box 7, box 11, box 13, box 17, etc, so the number of boxes is the number of odd integers in $\{1,\ldots, 3n\}$ that are not divisible by 3.

In case when $n$ is even, the number of odd integers is $3n/2$ and $n/2$ of them are divisible by 3, so the number of boxes is $n$.

In case when $n$ is odd the number of odd integers is $(3n+1)/2$ and $(n+1)/2$ of them are divisible by 3, so the number of boxes is again $n$.

So among your $n+1$ numbers at least two belong to the same box, say box $k$. Then one of the numbers is $3^ik$, another is $3^jk$, so clearly one divides another.

1
On

So I personally had a similar idea to your first attempt. Suppose n = 3 that means the set we are looking at would be A = {1, 2, 3, 4, ..., 8, 3 * 3} because the last number is instantiated by 3n.

So according to the pigeon hole principle we just need to find n containers and m elements where m > n to state that there is at least one container with more than one element in it.

So I asked myself what are the containers and what are the elements? Since in the question asked we are picking exactly n + 1 odd elements that means in our example 3 + 1 are 4 odd elements.

So again what are the boxes and what are the elements? I noticed a pattern when I took the first 4 odd numbers in the set given above: {1, 3, 5, 9} the given pairs that would satisfy the requirement would be e.g. (1, 3), (3, 9): (k, 3k) where k <= n & 3k <= 3n.

I have deduced the formula (3n + 3n % 2) / 2 would give me number of total odd numbers in the set and (n + n % 2) / 2 would give me the number of k's that would satisfy the pair of (k, 3k).

So I noticed that ((3n + 3n % 2) / 2) - ((n + n % 2) / 2) = n. You can check it by looking at the cases if n is odd and if n is even.

The result of the difference is the number of odd numbers that do not satisfy k <= n & 3k <= 3k which means there is no valid pair of (k, 3k)

So n would be the number of boxes where the first element is always an odd number k and the second number is the triple of k. Since n is the number of k's that do not satisfy the requirements n + 1'th number would be the k that satisfies (k, 3k).

So lets pick 4 numbers: {1, 3, 5, 7} -> (1, 3), (1, 5), ..., (3, 9) where k <= n and 3 * k <= 3 * n.

Summary: Transform the set of numbers to 3n to a set only consisting of odd numbers. Divide the set of only consisting of odd numbers into two sets where a pair consists of (k, 3k) look at all k's or simply odd numbers in the set and check if k <= n. If not then the k will be later potentially be the tripled of a k that satisfies k <= 3.

So at the end we arrive to a conclusion that n pulls would take all potential 3k's and the n + 1'th pull would be the one k that we can put into the pair (k, 3k).

I hope this helps.