Problem

Source: Serbian Mathematical Olympiad 2007

Tags: modular arithmetic, inequalities, quadratics, number theory, greatest common divisor, number theory proposed



Determine all pairs of natural numbers $(x; n)$ that satisfy the equation \[x^{3}+2x+1 = 2^{n}.\]