Problem

Source: Portugal OPM 2016 p5

Tags: power of 2, number theory



Determine all natural numbers $x, y$ and $z$ such that the number $2^x +4^y +8^z +16^2$ is a power of $2$.