Maths Olympiad Prep

Library / Estonian Mathematical Olympiad /57 of 93

Estonian Mathematical Olympiad

Number theory Difficulty 6.4 National Olympiad Prove it Estonia

The mediant of two rational numbers uu and vv is x=a+cb+dx = \frac{a+c}{b+d}, where ab\frac{a}{b} and cd\frac{c}{d} are the reduced fractions of uu and vv respectively. Prove that for any two distinct positive rational numbers uu and xx, there exist infinitely many positive rational numbers vv, such that xx is the mediant of uu and vv.

Solution

Let u=abu = \frac{a}{b} and x=cdx = \frac{c}{d} be the reduced fractions of uu and xx. We are looking for rational numbers vv such that v=mc−amd−bv = \frac{mc-a}{md-b}, where mm is large enough integer such that mc−amc-a and md−bmd-b are both positive. According to the definition, xx is the mediant of uu and vv as soon as mc−amd−b\frac{mc-a}{md-b} is irreducible. Let's show that there are infinitely many natural numbers mm such that mc−amd−b\frac{mc-a}{md-b} is irreducible. This will complete the solution.

Let us first prove a lemma: prime numbers which can be used to reduce the fractions are also the factors of ad−bcad - bc. Indeed, if p∣mc−ap \mid mc - a and p∣md−bp \mid md - b, then p∣amd−b−b(mc−a)=m(ad−bc)p \mid a md - b - b (mc - a) = m(ad - bc), therefore p∣mp \mid m or p∣ad−bcp \mid ad - bc. If p∣mp \mid m, then p∣ap \mid a and p∣bp \mid b which contradicts the irreducibility of the fraction ab\frac{a}{b}. Therefore p∣ad−bcp \mid ad - bc.

As uu and xx are different, ad−bc≠0ad - bc \ne 0. Therefore the number ad−bcad - bc has a finite number of prime factors. Let p1,…,plp_1, \dots, p_l be all the different prime factors which can reduce the fraction mc−amd−b\frac{mc-a}{md-b} for at least one mm and for each i=1,…,li = 1, \dots, l let mim_i be natural number such that the fraction mic−amid−b\frac{m_i c - a}{m_i d - b} is reducible with prime pip_i.

Let nn be an arbitrary factor for which the fraction nc−and−b\frac{nc-a}{nd-b} is not irreducible. This fraction must be reducible with some prime number pip_i which can also reduce the fraction mic−amid−b\frac{m_i c - a}{m_i d - b}. Then pi∣(n−mi)cp_i \mid (n - m_i)c and pi∣(n−mi)dp_i \mid (n - m_i)d. Therefore pi∣n−mip_i \mid n - m_i as otherwise p∣cp \mid c and p∣dp \mid d which contradicts the irreducibility of the fraction cd\frac{c}{d}. Therefore n≡mi(modpi)n \equiv m_i \pmod{p_i}.

Therefore by choosing nn such that n≡mi+1(modpi)n \equiv m_i + 1 \pmod{p_i} for each i=1,…,li = 1, \dots, l the fraction nc−and−b\frac{nc-a}{nd-b} must be irreducible. According to Chinese remainder theorem there are infinitely many natural numbers nn which satisfy such congruence system.

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.