Problem

Source: Irmo 2015 p1 q3

Tags: number theory, perfect cube



Find all positive integers $n$ for which both $837 + n$ and $837 - n$ are cubes of positive integers.