Maths Olympiad Prep

Track / Stage 8 / 129 of 180 #1829 of 1964

Problem 1829

IMO Shortlist mid-range; USAMO P2/P5
Number theory Difficulty 8.4 Prove it BMO 2022 shortlist · Balkan Mathematical Olympiad · 2022

Let aa, bb, nn be positive integers such that:
(i) a2021na^{2021} \mid n and b2021nb^{2021} \mid n
(ii) 2022ab2022 \mid a - b and a>ba > b.
Prove that there is a subset of the divisors of the number nn having sum of elements divisible by 20222022 but not by 202222022^2.

This one wants a proof. Work it on paper, then read the official solution and mark yourself. Be honest about it: the record is only any use to you if it is.

Official solutions — 2

Solution 1

Solution 1. Write a=dra = dr and b=dsb = ds where d=gcd(a,b)d = \gcd(a, b) and (r,s)=1(r, s) = 1. Then d2021r2021s2021d^{2021} r^{2021} s^{2021} divides nn. Furthermore 23337d(rs)2 \cdot 3 \cdot 337 \mid d(r - s).

Case 1: Assume 337d337 \mid d. Since (r,s)=1(r, s) = 1, we may assume that rr is odd. Then
{337r2,337r4,,337r10,337r12} \{337r^2, 337r^4, \dots, 337r^{10}, 337r^{12}\}
works. Indeed each of these six divisors of nn is congruent to 1mod41 \mod 4 so their sum is a multiple of 22 but not of 44. If 3r3 \mid r then the sum is 0mod30 \mod 3 while if 3r3 \nmid r then each of these divisors is 1mod31 \mod 3 so the sum is again 0mod30 \mod 3. Therefore the sum is a multiple of 20222022 but not of 202222022^2.

Case 2: Assume 337d337 \nmid d. Then 337rs337 \mid r - s and since (r,s)=1(r, s) = 1 then 337rs337 \nmid rs. Consider the 202222022^2 divisors of nn of the form rksr^k s^\ell where k,{0,1,2,,2021}k, \ell \in \{0, 1, 2, \dots, 2021\}. Since none of them is a multiple of 337337, they have at most 233362 \cdot 3 \cdot 336 distinct remainders modulo 20222022. Therefore at least 2022223336>2022\frac{2022^2}{2 \cdot 3 \cdot 336} > 2022 of them have the same remainder modulo 20222022.
Pick 20232023 out of those, say d1,d2,,d2023d_1, d_2, \dots, d_{2023}. Let SS be their sum. We claim that there is a subset of 20222022 of them that will work. Note that the sum of any such subset is a multiple of 20222022. It is enough to show that there is such a subset whose sum is not divisible by 3372337^2. If this is not the case then Sdi0mod3372S - d_i \equiv 0 \mod 337^2 for each i=1,2,,2023i = 1, 2, \dots, 2023. In particular, all did_i are congruent mod 3372337^2. Say that dikmod3372d_i \equiv k \mod 337^2 for each ii. Then 337k337 \nmid k and so the sum of any 20222022 of them is congruent to 2022k0mod33722022k \neq 0 \mod 337^2.

Solution 2

We start with the following claim:
Claim. If kk is a positive integer, then akb2021kna^k b^{2021-k} \mid n.
Proof of the Claim. We have that n2021=nkn2021kn^{2021} = n^k \cdot n^{2021-k} is divisible by a2021kb2021(2021k)a^{2021k} \cdot b^{2021(2021-k)} and taking the 20212021-root we get the desired result. \square

Back to the problem, we will prove that the set T={akb2021k,k0}T = \{a^k b^{2021-k}, k \ge 0\} consisting of 20222022 divisors of nn, has the desired property. The sum of its elements is equal to
S=k=02021akb2021kk=02021a20210mod2022. S = \sum_{k=0}^{2021} a^k b^{2021-k} \equiv \sum_{k=0}^{2021} a^{2021} \equiv 0 \mod 2022.
On the other hand, the last sum is equal to a2022b2022ab\frac{a^{2022} - b^{2022}}{a-b}. We will prove that this is not divisible by 99. Indeed, if 3tab3^t \mid a - b then, since 3120223^1 \mid 2022, by the Lifting the Exponent Lemma, we have that 3t+1a2022b20223^{t+1} \mid a^{2022} - b^{2022}. This implies that SS is not divisible by 99, therefore, 202222022^2 doesn't divide SS.

Source: MathNet, licensed CC-BY-4.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.