Problem

Source:

Tags: USAJMO, modular arithmetic, quadratics, number theory



Find, with proof, all positive integers $n$ for which $2^n + 12^n + 2011^n$ is a perfect square.