Maths Olympiad Prep

Library / China Hong Kong Mathematical Olympiad /27 of 89

China Hong Kong Mathematical Olympiad

Number theory Difficulty 5.5 AIME, harder Prove it Hong Kong

Let n>4n > 4 be a positive integer such that nn is composite (not a prime) and divides φ(n)σ(n)+1\varphi(n)\sigma(n) + 1, where φ(n)\varphi(n) is the Euler's totient function of nn and σ(n)\sigma(n) is the sum of the positive divisors of nn. Prove that nn has at least three distinct prime factors.

Solution

If p2∣np^2 \mid n for some prime pp, then p∣φ(p2)∣φ(n)p \mid \varphi(p^2) \mid \varphi(n). This implies p∣φ(n)σ(n)+1p \mid \varphi(n)\sigma(n) + 1, and hence p∣n+φ(n)σ(n)+1p \mid n + \varphi(n)\sigma(n) + 1. Therefore, nn must be squarefree.

If n=pqn = pq for some distinct primes pp and qq, then
φ(pq)σ(pq)+1=(p−1)(q−1)(p+1)(q+1)+1=p2q2−p2−q2+2. \varphi(pq)\sigma(pq) + 1 = (p-1)(q-1)(p+1)(q+1) + 1 = p^2q^2 - p^2 - q^2 + 2.
This is a multiple of pqpq if and only if pq∣p2+q2−2pq \mid p^2 + q^2 - 2. We now prove that ab∣a2+b2−2ab \mid a^2 + b^2 - 2 has no solution in distinct integers a,b>1a, b > 1 using Vieta's jumping.

Suppose on the contrary that the divisibility is solvable. Let (a,b)(a, b) be a solution such that a>b>1a > b > 1 and bb is the smallest possible. Let a2+b2−2=kaba^2 + b^2 - 2 = kab for some positive integer kk. Rewrite this equation as
a2−kba+(b2−2)=0. a^2 - kba + (b^2 - 2) = 0.
This is a quadratic equation in aa. Let a′a' be another solution to this equation. Since a+a′=kba + a' = kb, a′a' is an integer. Since aa′=b2−2>0aa' = b^2 - 2 > 0, a′a' is positive. Also, we have
a′=b2−2a<b2a<b<a. a' = \frac{b^2 - 2}{a} < \frac{b^2}{a} < b < a.
This shows (x,y)=(b,a′)(x, y) = (b, a') is another pair of solution to xy∣x2+y2−2xy \mid x^2 + y^2 - 2 such that x>y>0x > y > 0. As a′<ba' < b, by the minimality of bb, we must have a′=1a' = 1. But then the divisibility becomes b∣1+b2−2b \mid 1 + b^2 - 2, i.e. b∣1b \mid 1. This is impossible since b>1b > 1. Thus, there is no solution.

It follows that nn must have at least 3 distinct prime divisors.

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.