Maths Olympiad Prep

Track / Stage 6 / 384 of 400 #1384 of 1964

Problem 1384

National olympiad, first round
Number theory Difficulty 6.9 Prove it

Let nn be a positive integer. Let DnD_n be the set of all divisors of nn and let f(n)f(n) denote the smallest natural mm such that the elements of DnD_n are pairwise distinct in mod mm. Show that there exists a natural NN such that for all nNn \geq N, one has f(n)n0.01f(n) \leq n^{0.01}.

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 solution

1. Claim: Let d(n) d(n) be the divisor-counting function. Then d(n)=O(nk) d(n) = O(n^k) for all k>0 k > 0 . Here, we use the actual definition of big-O, i.e., f(n)=O(g(n))    f(n)Cg(n) f(n) = O(g(n)) \iff |f(n)| \leq Cg(n) for some fixed constant C C .

2. Proof of Claim:
- For some prime power n=pe n = p^e , we have d(n)=e+1 d(n) = e + 1 .
- Consider the ratio d(n)nk=e+1pe/k \frac{d(n)}{n^k} = \frac{e + 1}{p^{e/k}} .
- There exists a constant M M (dependent on k k ) such that for any p>M p > M , this fraction will always be at most 1.
- Therefore, d(n)nk \frac{d(n)}{n^k} is bounded above by
p primepMmax{e+1pe/k}e0 \prod_{\substack{p \text{ prime} \\ p \leq M}} \max \left\{ \frac{e + 1}{p^{e/k}} \right\}_{e \geq 0}
which is clearly finite, proving the desired claim. \blacksquare

3. Now, pick k=11000 k = \frac{1}{1000} for our lemma. By picking n n as shown in the problem, we have d(n)=O(n1/1000) d(n) = O(n^{1/1000}) .

4. There are O(n1/500) O(n^{1/500}) pairs of distinct divisors (d1,d2) (d_1, d_2) of n n .

5. For one of these pairs, there are exactly d(d1d2) d(|d_1 - d_2|) positive numbers m m such that d1 d_1 and d2 d_2 are not distinct modulo m m .

6. By the union bound, this means that the number of m m such that the elements of Dn D_n aren't pairwise distinct modulo m m is at most
(d1,d2)d(d1d2)(d1,d2)d(n)=(d1,d2)O(n1/1000)=O(n3/1000), \sum_{(d_1, d_2)} d(|d_1 - d_2|) \leq \sum_{(d_1, d_2)} d(n) = \sum_{(d_1, d_2)} O(n^{1/1000}) = O(n^{3/1000}),
which will clearly be less than n1/100 n^{1/100} for sufficiently large n n . \blacksquare

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.