Skip to main content
OlympiadHQ

Browse · MATH

Print

jmc

number theory senior

Problem

Find the largest integer satisfying the following conditions: (i) can be expressed as the difference of two consecutive cubes; (ii) is a perfect square.
Solution
Write , or equivalently, . Since and are both odd and their difference is , they are relatively prime. But since their product is three times a square, one of them must be a square and the other three times a square. We cannot have be three times a square, for then would be a square congruent to modulo , which is impossible. Thus is a square, say . But is also a square, say . Then . Since and have the same parity and their product is even, they are both even. To maximize , it suffices to maximize and check that this yields an integral value for . This occurs when and , that is, when and . This yields and , so the answer is .
Final answer
181