Maths Olympiad Prep

Library / Baltic Way competition problems /13 of 45

Baltic Way competition problems, 2016

Number theory Difficulty 4.9 AIME Prove it Baltic Way

Determine all positive integers aa and all primes pp fulfilling the equation
(a−p)3=a+p. (a - p)^3 = a + p.

Solution

Writing n=a−pn = a - p transforms the equation into
n3=a+p=n+2p, n^3 = a + p = n + 2p,
so that
2p=n3−n=n(n+1)(n−1), 2p = n^3 - n = n(n + 1)(n - 1),
which is divisible by 33. Therefore p=3p = 3 and n=2n = 2, whence a=5a = 5.

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 reproduced verbatim; metadata (topic, difficulty) added by this project.