Maths Olympiad Prep

Library / /22 of 27

, 2008

Number theory Difficulty 6.4 National olympiad Prove it India

Suppose nn is a composite number such that φ(n)\varphi(n) divides n1n-1, where φ\varphi denotes Euler's totient function. Show that nn has at least four distinct prime factors.

Solution

Suppose nn has only one prime factor. Then n=pαn = p^\alpha for some α>1\alpha > 1 and prime pp. Then φ(n)=pα1(p1)\varphi(n) = p^{\alpha-1}(p-1) divides pα1p^\alpha - 1, which is impossible since α2\alpha \ge 2. Thus nn has at least two prime factors.

Suppose n=pαqβn = p^\alpha q^\beta, where pqp \ne q are primes, α1\alpha \ge 1 and β1\beta \ge 1. Here φ(n)=pα1qβ1(p1)(q1)\varphi(n) = p^{\alpha-1}q^{\beta-1}(p-1)(q-1) and n1=pαqβ1n-1 = p^\alpha q^\beta - 1. Thus φ(n)((n1)(p1))\varphi(n)|((n-1)(p-1)) implies that α=1=β\alpha = 1 = \beta and (p1)(q1)(p-1)(q-1) divides pq1pq-1. This implies that (p1)(q1)(p-1)|(q-1) and (q1)(p1)(q-1)|(p-1), forcing p=qp=q.

If nn has three distinct prime factors, say p,q,rp, q, r, we see as in the earlier case n=pqrn = pqr and (p1)(q1)(r1)(p-1)(q-1)(r-1) divides pqr1pqr-1. Taking p1=x,q1=yp-1=x, q-1=y and r1=zr-1=z, we see that
t=pqr1(p1)(q1)(r1)=1+1x+1y+1z+1xy+1yz+1zx, t = \frac{pqr - 1}{(p-1)(q-1)(r-1)} = 1 + \frac{1}{x} + \frac{1}{y} + \frac{1}{z} + \frac{1}{xy} + \frac{1}{yz} + \frac{1}{zx},
is an integer. We also observe that no prime can be even. (Otherwise pqr1pqr-1 is odd whereas one of p1,q1,r1p-1, q-1, r-1 is even.) Thus we may assume 3p<q<r3 \le p < q < r, so that x2,y4x \ge 2, y \ge 4 and z6z \ge 6. Thus
1<t1+12+14+16+18+112+124=1+2824<3. 1 < t \le 1 + \frac{1}{2} + \frac{1}{4} + \frac{1}{6} + \frac{1}{8} + \frac{1}{12} + \frac{1}{24} = 1 + \frac{28}{24} < 3.
Thus t=2t=2 and hence
1x+1y+1z+1xy+1yz+1zx=1. \frac{1}{x} + \frac{1}{y} + \frac{1}{z} + \frac{1}{xy} + \frac{1}{yz} + \frac{1}{zx} = 1.
If p5p \ge 5, we have x4,y6x \ge 4, y \ge 6 and z10z \ge 10. In this case,
1=1x+1y+1z+1xy+1yz+1zx14+16+110+124+160+140=72120<1. 1 = \frac{1}{x} + \frac{1}{y} + \frac{1}{z} + \frac{1}{xy} + \frac{1}{yz} + \frac{1}{zx} \le \frac{1}{4} + \frac{1}{6} + \frac{1}{10} + \frac{1}{24} + \frac{1}{60} + \frac{1}{40} = \frac{72}{120} < 1.
Thus p=3p=3 and x=2x=2. We obtain
1y+1z+12(1y+1z)+1yz=12. \frac{1}{y} + \frac{1}{z} + \frac{1}{2} \left( \frac{1}{y} + \frac{1}{z} \right) + \frac{1}{yz} = \frac{1}{2}.
This may be written in the form (y3)(z3)=11(y-3)(z-3) = 11. We thus get y=4,z=14y=4, z=14. In turn, we have q=5q=5 and r=15r=15. But then rr is not a prime. Thus the number of distinct prime factors of nn is more than 3.

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

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