Problem

Source:

Tags: modular arithmetic, search, Diophantine Equations, pen



Solve the equation $x^2 +7=2^n$ in integers.