I've got this equation:
$$2^{x_1}+2^{x_2}-2^{x_3}=2^y$$
Besides the trivial solutions ($x_1=x_2=x_3=y$), does it have any other natural solution for given natural y?
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It only takes a minute to sign up.
Sign up to join this communityI've got this equation:
$$2^{x_1}+2^{x_2}-2^{x_3}=2^y$$
Besides the trivial solutions ($x_1=x_2=x_3=y$), does it have any other natural solution for given natural y?
Consider the binary representation of the LHS vs the RHS. Suppose $x_1,x_2,x_3$ are all different. If $x_3$ is biggest, your LHS is negative, so there are no solutions. Wherever else $x_3$ appears, subtracting $2^{x_3}$ will not decrease the number of $1$s in the binary expansion. Indeed if it's $k$ steps below $x_1$ but above $x_2$ (say), the number of $1$s increases by $k-1$ (by carrying). So you have at least two $1$s, but the RHS has one (contradiction).
So some of them are equal. By symmetry, $x_1 = x_3$ and $x_2 = x_3$ are the same case; they give a unique solution for $y$ (the non-cancelling exponent).
If $x_1=x_2$ then you have the equation $2^{x_1 + 1} - 2^{x_3} = 2^y$. By the logic above $x_3$ and $x_1+1$ must be adjacent - so $x_3 = x_1$, and you have your family of trivial solutions.