Maths Olympiad Prep

Library / Taiwan IMO Selection Camp /152 of 359

Taiwan IMO Selection Camp

Number theory Difficulty 5.6 AIME, harder Prove it Taiwan

Let x,yx, y be positive integers with x>yx > y and (x−y)xy=xy⋅yx(x-y)^{xy} = x^y \cdot y^x, find the pairs (x,y)(x, y).

Solution

Let x=dpx = dp, y=dqy = dq, where d=(x,y)d = (x, y) is the greatest common divisor of x,yx, y, p,q∈Np, q \in \mathbb{N}, (p,q)=1(p, q) = 1, p>qp > q, then
(d(p−q))d2pq=(dp)dq(dq)dp⇔(d(p−q))dpq=(dp)q(dq)p⇔ddpq(p−q)dpq=dp+qpqqp.(d(p-q))^{d^2pq} = (dp)^{dq}(dq)^{dp} \Leftrightarrow (d(p-q))^{dpq} = (dp)^q(dq)^p \Leftrightarrow d^{dpq}(p-q)^{dpq} = d^{p+q}p^q q^p.

We want to prove: p+q<dpqp+q < dpq,
Suppose p+q≥dpqp+q \ge dpq, then (p−q)dpq=dp+q−dpqpqqp⇒p∣(p−q)dpq(p-q)^{dpq} = d^{p+q-dpq}p^q q^p \Rightarrow p \mid (p-q)^{dpq} and q∣(p−q)dpqq \mid (p-q)^{dpq}, but (p−q,p)=(p−q,q)=(p,q)=1⇒p=1,q=1(p-q, p) = (p-q, q) = (p, q) = 1 \Rightarrow p=1, q=1 (contradiction) therefore p+q<dpqp+q < dpq, so ddpq−p−q(p−q)dpq=pqqp⇒(p−q)∣pqqpd^{dpq-p-q}(p-q)^{dpq} = p^q q^p \Rightarrow (p-q) \mid p^q q^p, and also (p−q,p)=(p−q,q)=(p,q)=1⇒p−q=1(p-q, p) = (p-q, q) = (p, q) = 1 \Rightarrow p-q=1, that is p=q+1p=q+1, therefore
ddpq−p−q=pqqq+1,(1) d^{dpq-p-q} = p^q q^{q+1}, \qquad (1)
so p,qp, q are divisors of dd. Since (p,q)=1(p, q)=1, dd can be written as d=s×td=s \times t, where the prime factors of tt are only pp, the prime factors of ss are only qq, and (s,t)=1(s, t)=1. From equation (1) we get:
tdpq−p−q=pq=(q+1)q.(2) t^{dpq-p-q} = p^q = (q+1)^q. \qquad (2)
Since dpq−p−qdpq-p-q is coprime to qq, from (2) we know tt must be a pp-th power of some natural number, let t=t1qt = t_1^q. Then
t1dpq−p−q=q+1⇔t1dq(q+1)−(2q+1)=q+1, since q+1>1, hence t1>1. If q≥3, thent_1^{dpq-p-q} = q+1 \Leftrightarrow t_1^{dq(q+1)-(2q+1)} = q+1, \text{ since } q+1 > 1, \text{ hence } t_1 > 1. \text{ If } q \ge 3, \text{ then}
dq(q+1)−(2q+1)≥3(q+1)−(2q+1)=q+2⇒t1dpq−p−q≥2q+2>q+1 (contradiction)dq(q+1)-(2q+1) \ge 3(q+1)-(2q+1) = q+2 \Rightarrow t_1^{dpq-p-q} \ge 2^{q+2} > q+1 \text{ (contradiction)}
If q=2q=2, then t16d−5=3⇒t1=3t_1^{6d-5}=3 \Rightarrow t_1=3, d=1d=1 and x=d(q+1)=3x=d(q+1)=3, y=dq=2y=dq=2 (contradiction). Therefore
q=1q=1, then t12d−3=2⇒t1=2t_1^{2d-3}=2 \Rightarrow t_1=2, d=2⇒x=4,y=2d=2 \Rightarrow x=4, y=2.

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 translated into English from the original; metadata (topic, difficulty) added by this project.