Maths Olympiad Prep

Library / /10 of 11

Number theory Difficulty 8.9 Shortlist Prove it Bulgaria

Problem:
Let n3n \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 AMA \subset M, BMB \subset M, AB=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={p3p4pn1p1,p2p3pn1p1,p2p3pn1pnp1}N2={p1p4pn1p2,p1p3pn1p2,p1p3pn1pnp2}Nn1={p2p3pn2pn1,p1p2pn2pn1,p1p2pn2pnpn1} \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 3n33n-3 elements.

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

Let M1MM_{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
3M1+2(nM1)3n2 3|M_{1}| + 2(n - |M_{1}|) \geq 3n - 2
i.e. M1n2|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 2nn2n \leq n, a contradiction.

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

a) The set NN is a union of n1n-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(n1)+1n2(n-1) + 1 \leq n, i.e. n1n \leq 1, a contradiction. Otherwise the denominators of at most three fractions are divisible by pnp_{n}. Therefore 2(n1)+1n1+32(n-1) + 1 \leq n-1 + 3 implying n3n \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(n1)n1+52(n-1) \leq n-1 + 5, i.e. n6n \leq 6. For every n=3,4,5,6n = 3,4,5,6 it is easy to find an example of sets with 3n23n-2 elements.

Case 3. Let M1=n2|M_{1}| = n-2. To find a better NN one should have n2n-2 sets obtained by the primes from M1M_{1} and two sets with two elements each obtained from pn1p_{n-1} and pnp_{n}. As above we obtain 2(n2)+2(n2)+3+32(n-2) + 2 \leq (n-2) + 3 + 3, implying n6n \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 3n23n-2, and for n7n \geq 7 the answer is 3n33n-3.

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

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