Maths Olympiad Prep

Library / Romanian Mathematical Olympiad /68 of 275

Romanian Mathematical Olympiad

Combinatorics Difficulty 5.2 AIME, harder Prove it Romania

Consider the set A={1,2,3,…,2017}A = \{1, 2, 3, \dots, 2017\}. Determine the number of three element subsets B⊂AB \subset A, which satisfy the following conditions simultaneously:
a) at least two elements in the set BB are consecutive positive integers;
b) there is an a∈Ba \in B, such that 3a∈B3a \in B.

Solution

The sets we search contain elements aa, 3a3a, with 3a≤20173a \le 2017, so a≤672a \le 672. For a=1a = 1, we have {1,3}⊂B\{1, 3\} \subset B, and the possible sets are {1,2,3}\{1, 2, 3\} and {1,3,4}\{1, 3, 4\}. For a∈{2,3,4,…,672}a \in \{2, 3, 4, \dots, 672\} we have the sets {a−1,a,3a}\{a-1, a, 3a\}, {a,a+1,3a}\{a, a+1, 3a\}, {a,3a−1,3a}\{a, 3a-1, 3a\} and {a,3a,3a+1}\{a, 3a, 3a+1\}, which are all distinct, giving a total of 4⋅671=26844 \cdot 671 = 2684 sets. So the number of sets with the required properties is 26862686.

Want a route through all this instead of an archive? The track puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.