2015 USAMO · Question 5
Problem outline
Let be distinct positive integers such that . Prove that is composite.
Show answer and methods 1 methods
Answer
is necessarily composite.
Method 1 Assume primality and force incompatible inequalities
Suppose for contradiction that is prime. Modulo we have , so . Replace by and by ; cancellation gives .
Also , because are positive. Hence , so . Factoring the last congruence shows that divides one of , , or . Consequently .
The symmetric calculation beginning with also yields , and hence . Therefore .
After subtraction, both and would have to be nonnegative. But implies that and have the same nonzero sign: if , then , and if , then .
In the first case, ; in the second, . Either conclusion contradicts the preceding pair of inequalities. Thus cannot be prime; being greater than , it is composite.
Source and attribution
The outline and worked methods on this page were prepared for DR.WANG Mathematics.
Original question (external)