DR.WANG Mathematics中文

2015 USAMO · Question 5

Number theory · factorization

Problem outline

Let a,b,c,d,ea,b,c,d,e be distinct positive integers such that a4+b4=c4+d4=e5a^4+b^4=c^4+d^4=e^5. Prove that ac+bdac+bd is composite.

Show answer and methods 1 methods

Answer

ac+bdac+bd is necessarily composite.

Method 1 Assume primality and force incompatible inequalities

Suppose for contradiction that p=ac+bdp=ac+bd is prime. Modulo pp we have ac≡−bdac\equiv-bd, so a4c4≡b4d4a^4c^4\equiv b^4d^4. Replace c4c^4 by e5−d4e^5-d^4 and b4b^4 by e5−a4e^5-a^4; cancellation gives e5(a4−d4)≡0(modp)e^5(a^4-d^4)\equiv0\pmod p.

Also e5=a4+b4≤a5+b5<(ac+bd)5=p5e^5=a^4+b^4\le a^5+b^5<(ac+bd)^5=p^5, because a,b,c,da,b,c,d are positive. Hence e<pe<p, so p∤ep\nmid e. Factoring the last congruence shows that pp divides one of a−da-d, a+da+d, or a2+d2a^2+d^2. Consequently p≤a2+d2p\le a^2+d^2.

The symmetric calculation beginning with ac≡−bdac\equiv-bd also yields e5(b4−c4)≡0(modp)e^5(b^4-c^4)\equiv0\pmod p, and hence p≤b2+c2p\le b^2+c^2. Therefore ac+bd≤min⁡(a2+d2,b2+c2)ac+bd\le\min(a^2+d^2,b^2+c^2).

After subtraction, both a(a−c)+d(d−b)a(a-c)+d(d-b) and b(b−d)+c(c−a)b(b-d)+c(c-a) would have to be nonnegative. But a4+b4=c4+d4a^4+b^4=c^4+d^4 implies that a−ca-c and d−bd-b have the same nonzero sign: if a>ca>c, then d>bd>b, and if a<ca<c, then d<bd<b.

In the first case, b(b−d)+c(c−a)<0b(b-d)+c(c-a)<0; in the second, a(a−c)+d(d−b)<0a(a-c)+d(d-b)<0. Either conclusion contradicts the preceding pair of inequalities. Thus ac+bdac+bd cannot be prime; being greater than 11, it is composite.

Source and attribution

The outline and worked methods on this page were prepared for DR.WANG Mathematics.

Original question (external)