Maths Olympiad Prep

Library / Team selection test for 47. IMO /8 of 9

Team selection test for 47. IMO

Number theory Difficulty 8.9 Shortlist Prove it Bulgaria

Problem:
Let n≥3n \geq 3 be a positive integer and MM be the set of the first nn prime numbers. For every nonempty subset XX of MM denote by P(X)P(X) the product of the elements of XX. Let NN be a set of fractions of the form P(A)P(B)\frac{P(A)}{P(B)}, where A⊂MA \subset M, B⊂MB \subset M, A∩B=∅A \cap B = \varnothing such that the product of any 7 elements of NN is an integer. What is the maximum possible cardinality of NN?

Solution

Solution:
Consider the following three element sets
N1={p3p4…pn−1p1,p2p3…pn−1p1,p2p3…pn−1pnp1}N2={p1p4…pn−1p2,p1p3…pn−1p2,p1p3…pn−1pnp2}⋮Nn−1={p2p3…pn−2pn−1,p1p2…pn−2pn−1,p1p2…pn−2pnpn−1} \begin{aligned} N_{1} & = \left\{ \frac{p_{3} p_{4} \ldots p_{n-1}}{p_{1}}, \frac{p_{2} p_{3} \ldots p_{n-1}}{p_{1}}, \frac{p_{2} p_{3} \ldots p_{n-1} p_{n}}{p_{1}} \right\} \\ N_{2} & = \left\{ \frac{p_{1} p_{4} \ldots p_{n-1}}{p_{2}}, \frac{p_{1} p_{3} \ldots p_{n-1}}{p_{2}}, \frac{p_{1} p_{3} \ldots p_{n-1} p_{n}}{p_{2}} \right\} \\ & \vdots \\ N_{n-1} & = \left\{ \frac{p_{2} p_{3} \ldots p_{n-2}}{p_{n-1}}, \frac{p_{1} p_{2} \ldots p_{n-2}}{p_{n-1}}, \frac{p_{1} p_{2} \ldots p_{n-2} p_{n}}{p_{n-1}} \right\} \end{aligned}
It is easy to check that the union of these sets satisfies the condition of the problem and has 3n−33n-3 elements.

Suppose that there exists a set having 3n−23n-2 elements that satisfies the condition of the problem. It is clear that every prime number appears in denominator at most 3 times.

Let M1⊂MM_{1} \subset M be the largest possible set of prime numbers which appear exactly three times in denominator and no two prime numbers from M1M_{1} appear in one and the same denominator. Then the following inequality holds true
3∣M1∣+2(n−∣M1∣)≥3n−2 3|M_{1}| + 2(n - |M_{1}|) \geq 3n - 2
i.e. ∣M1∣≥n−2|M_{1}| \geq n-2.

Case 1. Let ∣M1∣=n|M_{1}| = n. Then NN is a union of sets of the type Ni={aipi,bipi,cipi}N_{i} = \left\{ \frac{a_{i}}{p_{i}}, \frac{b_{i}}{p_{i}}, \frac{c_{i}}{p_{i}} \right\} and it follows that pip_{i} does not appear in at most one of the numerators of the remaining fractions. In every NiN_{i} there are at least two fractions whose numerators do not contain one pjp_{j}; otherwise there are two equal fractions. Therefore 2n≤n2n \leq n, a contradiction.

Case 2. Let ∣M1∣=n−1|M_{1}| = n-1. There are two cases:

a) The set NN is a union of n−1n-1 sets of the form Ni={aixpi,bipi,cipi}N_{i} = \left\{ \frac{a_{i}}{x p_{i}}, \frac{b_{i}}{p_{i}}, \frac{c_{i}}{p_{i}} \right\}, where x=1x = 1 or x=pnx = p_{n} and Nn={rpn,spn}N_{n} = \left\{ \frac{r}{p_{n}}, \frac{s}{p_{n}} \right\}. If a denominator of a fraction not in NnN_{n} is divisible by pnp_{n} then we have as above that 2(n−1)+1≤n2(n-1) + 1 \leq n, i.e. n≤1n \leq 1, a contradiction. Otherwise the denominators of at most three fractions are divisible by pnp_{n}. Therefore 2(n−1)+1≤n−1+32(n-1) + 1 \leq n-1 + 3 implying n≤3n \leq 3. It is easy to be seen that n=3n=3 gives no solution.

b) Consider the set Nn={tpn}N_{n} = \left\{ \frac{t}{p_{n}} \right\}. Then observations analogous to those in a) imply 2(n−1)≤n−1+52(n-1) \leq n-1 + 5, i.e. n≤6n \leq 6. For every n=3,4,5,6n = 3,4,5,6 it is easy to find an example of sets with 3n−23n-2 elements.

Case 3. Let ∣M1∣=n−2|M_{1}| = n-2. To find a better NN one should have n−2n-2 sets obtained by the primes from M1M_{1} and two sets with two elements each obtained from pn−1p_{n-1} and pnp_{n}. As above we obtain 2(n−2)+2≤(n−2)+3+32(n-2) + 2 \leq (n-2) + 3 + 3, implying n≤6n \leq 6. Hence in this case we do not find a better NN.

When n=3,4,5,6n = 3,4,5,6 the answer is 3n−23n-2, and for n≥7n \geq 7 the answer is 3n−33n-3.

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.