Olympiad Maths Prep

Track / Stage 7 / 111 of 300 #1511 of 2000

Problem 1511

National olympiad second round; IMO P1/P4
Combinatorics Difficulty 7.2 Prove it

Prove that every infinite sequence SS of distinct positive integers contains either an infinite subsequence such that for every pair of terms, neither term ever divides the other, or an infinite subsequence such that in every pair of terms, one always divides the other.

This one wants a proof. Work it on paper, read the official solution, then mark yourself honestly — the ladder only means something if the record is true.

Official solution

1. Define Terms and Assumptions:
- We call two terms aia_i and aja_j "friends" if aiaja_i \mid a_j or ajaia_j \mid a_i, and "enemies" otherwise.
- A sequence is "good" if any two terms are friends.
- Assume there is no good infinite sequence.

2. Construct the Longest Good Sequence:
- Let a1=a11,a12,,a1na_1 = a_{1_1}, a_{1_2}, \dots, a_{1_n} be the longest good sequence containing a1a_1, where 11,12,,1n1_1, 1_2, \dots, 1_n are indices.
- This means that for any ii distinct from {11,12,,1n}\{1_1, 1_2, \dots, 1_n\}, there exists jnj \leq n such that aia_i and a1ja_{1_j} are enemies.

3. Identify an Element with Infinite Enemies:
- There exists a number a1ka_{1_k} with an infinite number of enemies. Denote a1k=b1a_{1_k} = b_1.
- Therefore, there exists an infinite set I1I_1 of indices such that for any iI1i \in I_1, aia_i and b1b_1 are enemies.

4. Inductive Construction of Subsequences:
- Assume we have constructed the numbers b1,b2,,bnb_1, b_2, \dots, b_n such that any two are enemies and there exists an infinite set InI_n of indices such that for any bib_i and for any jInj \in I_n, bjb_j and aia_i are enemies.
- Pick a number xx from InI_n such that axa_x is distinct from bib_i for any ini \leq n, and let ax=an1,an2,,anma_x = a_{n_1}, a_{n_2}, \dots, a_{n_m} be the longest good sequence containing axa_x, with indices aniIna_{n_i} \in I_n for any imi \leq m.
- Therefore, any element yy of InI_n, which is not from the set {n1,n2,,nm}\{n_1, n_2, \dots, n_m\}, has the property that aya_y is an enemy with some anja_{n_j}.

5. Identify an Element with Infinite Enemies in the Subset:
- Since the set In{n1,n2,,nm}I_n - \{n_1, n_2, \dots, n_m\} is infinite, there exists an index nkn_k which is an enemy with an infinite number of elements with indices from InI_n.
- Let ank=bn+1a_{n_k} = b_{n+1} and let In+1InI_{n+1} \subset I_n be the set of indices with which bn+1b_{n+1} is an enemy.

6. Inductive Conclusion:
- By induction, we have constructed an infinite subsequence {bn}\{b_n\} of enemies.

Conclusion:
Thus, we have shown that if there is no good infinite sequence, we can construct an infinite subsequence of enemies. This completes the proof.

\blacksquare

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.