Solve the equation $x^{2}+y^{4}+1=6^{z}$ in the set of integers.

[$\text{Source:2015 JBMO TST - Macedonia, Problem 1}$]

## First Post of the Year(A Very easy problem)

### First Post of the Year(A Very easy problem)

"Questions we can't answer are far better than answers we can't question"

### Re: First Post of the Year(A Very easy problem)

First note that $z$ is necessarily non-negative (otherwise the left side can't be an integer).

First assume $z>0$

We have that $x^2+y^4$ is odd, which implies that one of $x,y$ is even while the other is odd. Suppose $x$ is even. Then taking both sides of the equation modulo $4$, we have that $2\equiv 2^z$ but that's possible only if $z=1$. On the other hand, if $x$ is odd, then again taking mod $4$, we get $2\equiv 2^z$ and so $z$ has to be $1$.

Now check the remaining cases by hand to find the solutions(s).

First assume $z>0$

We have that $x^2+y^4$ is odd, which implies that one of $x,y$ is even while the other is odd. Suppose $x$ is even. Then taking both sides of the equation modulo $4$, we have that $2\equiv 2^z$ but that's possible only if $z=1$. On the other hand, if $x$ is odd, then again taking mod $4$, we get $2\equiv 2^z$ and so $z$ has to be $1$.

Now check the remaining cases by hand to find the solutions(s).