Problem

Source: 2022 Czech and Slovak Olympiad III A p5

Tags: number theory, Perfect Squares



Find all integers $n$ such that $2^n + n^2$ is a square of an integer. (Tomas Jurik )