Maths Olympiad Prep

Track / Stage 5 / 315 of 400 #1395 of 2444

Problem 1395

AIME late
Number theory Difficulty 5.7 Prove it NMO Selection Tests For The Junior Balkan Mathematical Olympiad · Romania

For every positive integer nn let τ(n)\tau(n) denote the number of its positive factors. Determine all nNn \in \mathbb{N} that satisfy the equality τ(n)=n3\tau(n) = \frac{n}{3}.

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 solutions — 2

Solution 1

If nNn \in \mathbb{N} satisfies the condition τ(n)=n3\tau(n) = \frac{n}{3}, then 3n3 \mid n. Put n=3kn = 3k, kNk \in \mathbb{N}. If kk is even then k2=n6\frac{k}{2} = \frac{n}{6} is a factor of nn. Even if all the positive numbers smaller than n6\frac{n}{6} are factors of nn and the numbers n5,n4,,n1\frac{n}{5}, \frac{n}{4}, \dots, \frac{n}{1} are also factors of nn, we have n3=τ(n)n6+5\frac{n}{3} = \tau(n) \le \frac{n}{6} + 5. Hence n30n \le 30. Checking the numbers 6,12,18,246, 12, 18, 24 and 3030 we find that 1818 and 2424 satisfy the desired condition.

In the case when kk is odd we can proceed similarly, obtaining n=9n = 9, or, alternatively, we can use the fact that a number having an odd number of positive factors is a perfect square. If n=m2n = m^2, then nn has at most m+1m + 1 factors, hence m+1m23m + 1 \ge \frac{m^2}{3}. We obtain that m3m \le 3 and the conclusion.

In conclusion, the problem admits three solutions: 99, 1818 and 2424.

Solution 2

Since 3n3 \mid n, it follows that nn has a prime factorization of the form n=3ap1α1pjαjn = 3^a \cdot p_1^{\alpha_1} \cdot \dots \cdot p_j^{\alpha_j} and the number of its positive factors is τ(n)=(a+1)(α1+1)(αj+1)\tau(n) = (a+1)(\alpha_1+1)\dots(\alpha_j+1). The condition τ(n)=n3\tau(n) = \frac{n}{3} leads to 3a1p1α1pjαj=(a+1)(α1+1)(αj+1)3^{a-1} \cdot p_1^{\alpha_1} \cdot \dots \cdot p_j^{\alpha_j} = (a+1)(\alpha_1+1)\dots(\alpha_j+1). Since piαi2αiαi+1p_i^{\alpha_i} \ge 2^{\alpha_i} \ge \alpha_i + 1, in order for nn to satisfy the equation from the statement, it is necessary that a+13a1a+1 \ge 3^{a-1}, hence a=1a=1 or a=2a=2.
If in the prime factorization of nn there is a prime pi>3p_i > 3, then piαi>4αi2αi+2p_i^{\alpha_i} > 4^{\alpha_i} \ge 2\alpha_i + 2 and the equality τ(n)=n3\tau(n) = \frac{n}{3} can not take place. If a=1a=1 then n=32mn = 3 \cdot 2^m and the equality τ(n)=n3\tau(n) = \frac{n}{3} reduces to 2(m+1)=2m2(m+1) = 2^m. We find m=3m=3 (for m4m \ge 4 we have 2m>2m+22^m > 2m+2), hence n=24n=24.
Similarly, if a=2a=2 then n=322mn = 3^2 \cdot 2^m and from 3(m+1)=32m3(m+1) = 3 \cdot 2^m we obtain m{0,1}m \in \{0,1\}, i.e. n{9,18}n \in \{9,18\}.

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