Olympiad Maths Prep

Track / Stage 8 / 175 of 180 #1875 of 2000

Problem 1875

IMO Shortlist mid-range; USAMO P2/P5
Number theory Difficulty 8.9 Prove it China Team Selection Test · China

For positive integer k>1k > 1, let f(k)f(k) be the number of ways of factoring kk into product of positive integers greater than 1 (The order of factors are not counted, for example f(12)=4f(12) = 4, as 1212 can be factored in these 4 ways: 1212, 2×62 \times 6, 3×43 \times 4, 2×2×32 \times 2 \times 3).

Prove: If nn is a positive integer greater than 1, pp is a prime factor of nn, then f(n)npf(n) \le \frac{n}{p}.

This one wants a proof. Work it on paper, read the official solution, then mark yourself honestly — the ladder only means something if the record is true.

Official solution

Let P(n)P(n) stand for the biggest prime divisor of nn, and define P(1)=f(1)=1P(1) = f(1) = 1. We first prove two lemmas.

Lemma 1: For positive integer nn and prime pnp \mid n, we have f(n)dnpf(d)f(n) \le \sum_{d|\frac{n}{p}} f(d).

Proof of Lemma 1: For any factoring of nn, write n=n1n2nkn = n_1 n_2 \cdots n_k. Since pnp \mid n, there exists i{1,,k}i \in \{1, \cdots, k\} such that pnip \mid n_i (if there are more than one such ii, choose any one of them), without loss of generality, assume i=1i = 1. Map this factoring to a factoring of d=nn1d = \frac{n}{n_1}, d=n2n3nkd = n_2 n_3 \cdots n_k.

For two different factorings of nn, n=n1n2nkn = n_1 n_2 \cdots n_k and n=n1n2nkn = n'_1 n'_2 \cdots n'_k (where pp divides n1n_1 and n1n'_1):
- If n1=n1n_1 = n'_1, then d=n2nkd = n_2 \cdots n_k and d=n2nkd = n'_2 \cdots n'_k are two different factorings of dd (dd is a divisor of np\frac{n}{p}).
- If n1n1n_1 \ne n'_1, then d=nn1nn1=dd = \frac{n}{n_1} \ne \frac{n}{n'_1} = d', so these two factorings map to a factoring of dd and dd' respectively (dd and dd' are divisors of np\frac{n}{p}).

Thus f(n)dnpf(d)f(n) \le \sum_{d|\frac{n}{p}} f(d). Lemma 1 is proved.

Lemma 2: For positive integer nn, let g(n)=dndP(d)g(n) = \sum_{d|n} \frac{d}{P(d)}, then g(n)ng(n) \le n.

Proof of Lemma 2: Induce on the number of different prime divisors of nn.
- When n=1n = 1, g(1)=1g(1) = 1.
- When n=pan = p^a is a prime power,
g(n)=1+1+p++pa1=1+pa1p11+pa1=n. g(n) = 1 + 1 + p + \cdots + p^{a-1} = 1 + \frac{p^a - 1}{p-1} \le 1 + p^a - 1 = n.

Assume when the number of different prime divisors of nn is kk, we have g(n)ng(n) \le n. Consider the situation when nn has k+1k+1 different prime divisors. Let the prime factorization of nn be n=p1a1pkakpk+1ak+1n = p_1^{a_1} \cdots p_k^{a_k} p_{k+1}^{a_{k+1}}, where p1<<pk<pk+1p_1 < \cdots < p_k < p_{k+1}, and write n=mpk+1ak+1n = m p_{k+1}^{a_{k+1}}. So
g(n)=g(m)+dmi=1ak+1dpk+1ipk+1=g(m)+σ(m)pk+1ak+11pk+11, g(n) = g(m) + \sum_{d|m} \sum_{i=1}^{a_{k+1}} \frac{d p_{k+1}^i}{p_{k+1}} = g(m) + \sigma(m) \frac{p_{k+1}^{a_{k+1}} - 1}{p_{k+1} - 1},
where σ(m)\sigma(m) stands for the sum of positive divisors of mm. By assumption, g(m)mg(m) \le m.

Since
σ(m)pk+1ak+11pk+11=(i=1kpiai+11pi1)pk+1ak+11pk+11(i=1kpiai+11pi+11)(pk+1ak+11)(i=1kpiai+11pi)(pk+1ak+11)(i=1kpiai)(pk+1ak+11)=nm, \begin{align*} \sigma(m) \frac{p_{k+1}^{a_{k+1}} - 1}{p_{k+1} - 1} &= \left( \prod_{i=1}^k \frac{p_i^{a_i+1} - 1}{p_i - 1} \right) \frac{p_{k+1}^{a_{k+1}} - 1}{p_{k+1} - 1} \\ &\le \left( \prod_{i=1}^k \frac{p_i^{a_i+1} - 1}{p_{i+1} - 1} \right) (p_{k+1}^{a_{k+1}} - 1) \\ &\le \left( \prod_{i=1}^k \frac{p_i^{a_i+1} - 1}{p_i} \right) (p_{k+1}^{a_{k+1}} - 1) \\ &\le \left( \prod_{i=1}^k p_i^{a_i} \right) (p_{k+1}^{a_{k+1}} - 1) \\ &= n - m, \end{align*}
so g(n)ng(n) \le n. Lemma 2 is proved.

Back to the problem, it is sufficient to prove, for positive integer nn, f(n)nP(n)f(n) \le \frac{n}{P(n)} holds.

Induce on nn. When n=1n=1, the equality holds. Assume for n=1,2,,kn=1, 2, \dots, k, we have f(n)nP(n)f(n) \le \frac{n}{P(n)}. Then when n=k+1n=k+1, by Lemma 1, Lemma 2, and the assumption,
f(k+1)dk+1P(k+1)f(d)dk+1P(k+1)dP(d)=g(k+1P(k+1))k+1P(k+1). f(k+1) \le \sum_{d|\frac{k+1}{P(k+1)}} f(d) \le \sum_{d|\frac{k+1}{P(k+1)}} \frac{d}{P(d)} = g\left(\frac{k+1}{P(k+1)}\right) \le \frac{k+1}{P(k+1)}.

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