Maths Olympiad Prep

Library / China Team Selection Test /87 of 92

China Team Selection Test

Number theory Difficulty 8.9 Shortlist Prove it 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}.

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 p∣np \mid n, we have f(n)≤∑d∣npf(d)f(n) \le \sum_{d|\frac{n}{p}} f(d).

Proof of Lemma 1: For any factoring of nn, write n=n1n2⋯nkn = n_1 n_2 \cdots n_k. Since p∣np \mid n, there exists i∈{1,⋯ ,k}i \in \{1, \cdots, k\} such that p∣nip \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=n2n3⋯nkd = n_2 n_3 \cdots n_k.

For two different factorings of nn, n=n1n2⋯nkn = n_1 n_2 \cdots n_k and n=n1′n2′⋯nk′n = n'_1 n'_2 \cdots n'_k (where pp divides n1n_1 and n1′n'_1):
- If n1=n1′n_1 = n'_1, then d=n2⋯nkd = n_2 \cdots n_k and d=n2′⋯nk′d = n'_2 \cdots n'_k are two different factorings of dd (dd is a divisor of np\frac{n}{p}).
- If n1≠n1′n_1 \ne n'_1, then d=nn1≠nn1′=d′d = \frac{n}{n_1} \ne \frac{n}{n'_1} = d', so these two factorings map to a factoring of dd and d′d' respectively (dd and d′d' are divisors of np\frac{n}{p}).

Thus f(n)≤∑d∣npf(d)f(n) \le \sum_{d|\frac{n}{p}} f(d). Lemma 1 is proved.

Lemma 2: For positive integer nn, let g(n)=∑d∣ndP(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+⋯+pa−1=1+pa−1p−1≤1+pa−1=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=p1a1⋯pkakpk+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)+∑d∣m∑i=1ak+1dpk+1ipk+1=g(m)+σ(m)pk+1ak+1−1pk+1−1, 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+1−1pk+1−1=(∏i=1kpiai+1−1pi−1)pk+1ak+1−1pk+1−1≤(∏i=1kpiai+1−1pi+1−1)(pk+1ak+1−1)≤(∏i=1kpiai+1−1pi)(pk+1ak+1−1)≤(∏i=1kpiai)(pk+1ak+1−1)=n−m, \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)≤∑d∣k+1P(k+1)f(d)≤∑d∣k+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)}.

Want a route through all this instead of an archive? The track puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.

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