Maths Olympiad Prep

Library / /365 of 397

, 2021

Number theory Difficulty 7.1 National Olympiad, round 2 Prove it Taiwan

(a) Show that for any two coprime positive integers a,ba, b, there always exist positive integers x,yx, y such that axn+bynax^n + by^n is nn-good.
(b) Show that for any kk positive integers a1,,aka_1, \dots, a_k satisfying gcd(a1,,ak)=1\gcd(a_1, \dots, a_k) = 1, there always exist positive integers x1,,xkx_1, \dots, x_k such that a1x1n+a2x2n++akxkna_1x_1^n + a_2x_2^n + \dots + a_kx_k^n is nn-good. (Remark: a1,,aka_1, \dots, a_k need not be pairwise distinct.)

Problem:
II-N. Let nn be a given positive integer. We say that a positive integer mm is nn-good if and only if there are at most 2n2n distinct primes pp satisfying p2mp^2 \mid m.
(a) Show that if two positive integers a,ba, b are coprime, then there exist positive integers x,yx, y so that axn+bynax^n + by^n is nn-good.
(b) Show that for any kk positive integers a1,,aka_1, \dots, a_k satisfying gcd(a1,,ak)=1\text{gcd}(a_1, \dots, a_k) = 1, there exist positive integers x1,,xkx_1, \dots, x_k so that a1x1n+a2x2n++akxkna_1x_1^n + a_2x_2^n + \dots + a_kx_k^n is nn-good.
*(Remark. a1,,aka_1, \dots, a_k are not necessarily pairwise distinct.)*

Solution

Solution. We first prove (a). Let N,C1,C2N, C_1, C_2 be some positive integers to be determined. Let PP be the product of all primes at most max{a,b,2n+4}\max\{a, b, 2n+4\}. Let S1={Pn+C1:n[N]}S_1 = \{Pn + C_1 : n \in [N]\} and S2={Pn+C2:n[N]}S_2 = \{Pn + C_2 : n \in [N]\}. For each prime p(max{a,b,2n+4},N)p \in (\max\{a, b, 2n+4\}, \sqrt{N}), we first count the number of (x,y)S1×S2(x, y) \in S_1 \times S_2 that satisfies p2axn+bynp^2 \mid ax^n + by^n. For each yS2y \in S_2, if pyp \mid y, then we also need pxp \mid x, showing that there are at most (N/p+1)(N/p + 1) values for xx in S1S_1 such that p2axn+bynp^2 \mid ax^n + by^n (here we use the fact that gcd(p,P)=1\gcd(p, P) = 1). If pyp \nmid y, then we know that there are at most nn roots for axn+byn0(modp)ax^n + by^n \equiv 0 \pmod{p}. Since pnp \nmid n, each solution modulo pp lifts uniquely to a solution modulo p2p^2, showing that there are at most n(N/p2+1)n(N/p^2 + 1) values for xx in S1S_1 such that p2axn+bynp^2 \mid ax^n + by^n (here we use the fact that gcd(p,P)=1\gcd(p, P) = 1 once again). Therefore, in total, there are at most
(Np+1)2+(NNp1)n(Np2+1)<(2n+4)N2p2 \left(\frac{N}{p} + 1\right)^2 + \left(N - \frac{N}{p} - 1\right) \cdot n \left(\frac{N}{p^2} + 1\right) < \frac{(2n + 4)N^2}{p^2}
pairs of (x,y)S1×S2(x, y) \in S_1 \times S_2 that satisfy p2axn+bynp^2 \mid ax^n + by^n. Since we know that
i=2n+51i(i1)=i=2n+5(1i11i)=12n+4, \sum_{i=2n+5}^{\infty} \frac{1}{i(i-1)} = \sum_{i=2n+5}^{\infty} \left( \frac{1}{i-1} - \frac{1}{i} \right) = \frac{1}{2n+4},
we have that
prime p2n+52n+4p2<i=2n+52n+4i(i1)=1. \sum_{\text{prime } p \ge 2n+5} \frac{2n+4}{p^2} < \sum_{i=2n+5}^{\infty} \frac{2n+4}{i(i-1)} = 1.
As a consequence, we know that for every C1,C2,NC_1, C_2, N, there exists a pair (x,y)S1×S2(x, y) \in S_1 \times S_2 such that for any prime p(max{a,b,2n+4},N)p \in (\max\{a, b, 2n+4\}, \sqrt{N}) we have p2axn+bynp^2 \nmid ax^n + by^n.
Next, we will choose C1,C2C_1, C_2 properly to deal with the case pmax{a,b,2n+4}p \le \max\{a, b, 2n+4\}. For each prime pmax{a,b,2n+4}p \le \max\{a, b, 2n+4\}, if pap \nmid a then we can choose C11(modp)C_1 \equiv 1 \pmod{p}

and C20(modp)C_2 \equiv 0 \pmod{p}; otherwise, we know by the condition that pbp \nmid b, and so we can choose C10(modp)C_1 \equiv 0 \pmod{p} and C21(modp)C_2 \equiv 1 \pmod{p}. By the Chinese Remainder Theorem, we know that we can choose 1C1,C2P1 \le C_1, C_2 \le P such that the above conditions hold for all primes pmax{a,b,2n+4}p \le \max\{a, b, 2n+4\}. As a consequence, we now also have that for any prime pmax{a,b,2n+4}p \le \max\{a, b, 2n+4\} and any (x,y)S1×S2(x, y) \in S_1 \times S_2, we have paxn+bynp \nmid ax^n + by^n.
With this choice of C1,C2C_1, C_2, we know that for all NN, we can choose (x,y)S1×S2(x, y) \in S_1 \times S_2 such that p2axn+bynp^2 \nmid ax^n+by^n for all p<Np < \sqrt{N}. Note that axn+byn2max{a,b}Pn(N+1)n<2n+1max{a,b}PnNnax^n+by^n \le 2\max\{a, b\}P^n(N+1)^n < 2^{n+1} \max\{a, b\}P^n N^n, and also that if pp is a prime such that p2axn+bynp^2 \mid ax^n+by^n then pNp \ge \sqrt{N}. We thus have the number of distinct primes pp satisfying p2axn+bynp^2 \mid ax^n + by^n is at most
logN2n+1max{a,b}PnNn=2n+logN2n+1max{a,b}Pn, \log_{\sqrt{N}} 2^{n+1} \max\{a, b\}P^n N^n = 2n + \log_{\sqrt{N}} 2^{n+1} \max\{a, b\}P^n,
which is less than 2n+12n+1 if NN is large enough. Thus, we know that there exist x,yNx, y \in \mathbb{N} such that there are at most 2n2n distinct primes pp that satisfy p2axn+bynp^2 \mid ax^n + by^n.
Now we use (a) to prove (b). For each prime factor pp of aka_k, we know that there exists i(p)[k1]i(p) \in [k-1] so that pai(p)p \nmid a_{i(p)}. We can thus set xjδi(p),j(modp)x_j \equiv \delta_{i(p),j} \pmod{p} so that pa1x1n+a2x2n++ak1xk1np \nmid a_1x_1^n + a_2x_2^n + \dots + a_{k-1}x_{k-1}^n. By the Chinese Remainder Theorem, we know that there exist positive integers x1,,xk1x_1, \dots, x_{k-1} such that xjδi(p),j(modp)x_j \equiv \delta_{i(p),j} \pmod{p} for all j[k1]j \in [k-1] and prime factors pp of aka_k. Thus, we have that a1x1n+a2x2n++ak1xk1na_1x_1^n + a_2x_2^n + \dots + a_{k-1}x_{k-1}^n and aka_k are coprime. We can thus choose x,yNx, y \in \mathbb{N} by (a) so that (a1x1n++ak1xk1n)xn+akyn(a_1x_1^n + \dots + a_{k-1}x_{k-1}^n)x^n + a_ky^n is nn-good. Therefore, a1(x1x)n++ak1(xk1x)n+akyna_1(x_1x)^n + \dots + a_{k-1}(x_{k-1}x)^n + a_ky^n is nn-good, as desired.

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 translated into English from en; metadata (topic, difficulty) added by this project.