Maths Olympiad Prep

Track / Stage 8 / 63 of 180 #2403 of 2604

Problem 2403

IMO Shortlist mid-range; USAMO P2/P5
Number theory Difficulty 8.2 Prove it NMO Selection Tests · Romania

We say that a natural number n≥3n \ge 3 is almost square-free if there exists a prime number pp, with p≡1(mod3)p \equiv 1 \pmod 3, such that nn is divisible by p2p^2, and the number np\frac{n}{p} is square-free (i.e., not divisible by the square of any prime number).

Show that, for any natural number nn that is almost square-free, the ratio between twice the sum of the divisors of nn and the number of divisors of nn is a natural number.

Lucian Petrescu

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.

Next problem →

Official solution

Consider n=p1⋯pk−1⋅pk2⋅pk+1⋯psn = p_1 \cdots p_{k-1} \cdot p_k^2 \cdot p_{k+1} \cdots p_s, with p1<p2<⋯<psp_1 < p_2 < \dots < p_s prime numbers, 1≤k≤s1 \le k \le s, and p=pk≡1(mod3)p = p_k \equiv 1 \pmod 3. Moreover, pp is odd and satisfies p2+p+1≡0(mod3)p^2 + p + 1 \equiv 0 \pmod 3.

The number of divisors of nn, τ(n)\tau(n), is
τ(n)=(1+1)⋅(1+1)⋯(1+1)⏟applied s−1 times⋅(2+1)=3⋅2s−1, \tau(n) = \underbrace{(1+1) \cdot (1+1) \cdots (1+1)}_{\text{applied } s-1 \text{ times}} \cdot (2+1) = 3 \cdot 2^{s-1},
and the sum of the divisors, σ(n)\sigma(n), is:
σ(n)=p12−1p1−1⋯pk−12−1pk−1−1⋅pk3−1pk−1⋯pk+12−1pk+1−1⋯ps2−1ps−1=(p1+1)⋯(pk−1+1)⋅(pk2+pk+1)⋅(pk+1+1)⋯(ps+1). \begin{aligned} \sigma(n) &= \frac{p_1^2-1}{p_1-1} \cdots \frac{p_{k-1}^2-1}{p_{k-1}-1} \cdot \frac{p_k^3-1}{p_k-1} \cdots \frac{p_{k+1}^2-1}{p_{k+1}-1} \cdots \frac{p_s^2-1}{p_s-1} \\ &= (p_1+1) \cdots (p_{k-1}+1) \cdot (p_k^2+p_k+1) \cdot (p_{k+1}+1) \cdots (p_s+1). \end{aligned}

Case I. If nn is even, then p1=2p_1 = 2, and p2<p3<⋯<psp_2 < p_3 < \dots < p_s are odd primes. Hence, 2σ(n)=2⋅(2+1)⋅(p2+1)⋯(pk−1+1)⋅(pk2+pk+1)⋅(pk+1+1)⋯(ps+1)2\sigma(n) = 2 \cdot (2+1) \cdot (p_2+1) \cdots (p_{k-1}+1) \cdot (p_k^2+p_k+1) \cdot (p_{k+1}+1) \cdots (p_s+1), so 2σ(n)2\sigma(n) is divisible by 2⋅32⋅2s−2=3⋅τ(n)2 \cdot 3^2 \cdot 2^{s-2} = 3 \cdot \tau(n).

Case II. If nn is odd, then p1<p2<⋯<psp_1 < p_2 < \dots < p_s are odd primes, so
σ(n)=(p1+1)⋯(pk−1+1)⋅(pk2+pk+1)⋅(pk+1+1)⋯(ps+1) \sigma(n) = (p_1 + 1) \cdots (p_{k-1} + 1) \cdot (p_k^2 + p_k + 1) \cdot (p_{k+1} + 1) \cdots (p_s + 1)
is divisible by 3⋅2s−1=τ(n)3 \cdot 2^{s-1} = \tau(n).

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