2023 AIME I · Question 15
Problem outline
Find the greatest prime expressible as for a Gaussian integer such that are side lengths of a nondegenerate triangle.
Show answer and methods 1 methods
Answer
349
Method 1 Trap the slope between consecutive integers
For odd use conjugation and rotations through right angles to take component magnitudes of opposite parity. These symmetries also allow both cube components to be positive. Let be the real and imaginary parts of . We have and . Since the sum and difference of in magnitude are the larger and smaller of , the triangle condition is exactly .
Write and . Then . If , the quadratic decreases from , so its magnitude exceeds . For , expansion gives . The triangle condition now implies .
As , this bound gives . For each only the one of opposite in parity to can work. In order these are , giving . The last three are divisible by five.
Trial division by primes through confirms that is prime. For , its cube is and , proving attainability.
Source and attribution
The outline and worked methods on this page were prepared for DR.WANG Mathematics.
Original question (external)