MathsClub Problems, proofs & good company

← All problems

The Ramanujan–Nagell equation

historic

· Diophantine equations · resolved 1948 · ~1 min read · difficulty 4/5

diophantine-equations exponential-diophantine

The problem

The Diophantine equation \(x^2 + 7 = 2^n\) has exactly five integer solutions: \((x,n) \in \{(1,3),(3,4),(5,5),(11,7),(181,15)\}\). (Resolved 1948.)

History & significance

Ramanujan conjectured in 1913 that \(x^2 + 7 = 2^n\) has exactly the solutions \((x,n) = (1,3),(3,4),(5,5),(11,7),(181,15)\); Nagell proved completeness in 1948 using algebraic number theory in \(\mathbb{Q}(\sqrt{-7})\). It became the prototype for Lebesgue–Nagell-type exponential equations, whose modern treatment (Bugeaud–Mignotte–Siksek) blends lower bounds for linear forms in logarithms with modular methods.