Let $n$ be a positive integer. $n$ is called a golden integer if $n$ is composite, and if we write $n$ as $n=xy$, where $x$ and $y$ are positive integers, then $x+y$ is a power of two ($x+y=2^{r}$). Find all golden integers.
It is obvious by definition and the fact that $n=1\times n$ that there is an integer $a$, such that $n=2^{a}-1$. $n$ is composite, hence there are two integers, say $x$ and $y$, such that $1<x\leq y<n$ and $n=xy$. Thus we have the following system, $$x+y=2^{b}$$ $$xy=2^{a}-1$$ Consequently, $$(x+1)(y+1)=2^{b}(2^{a-b}+1)$$ $$(x-1)(y-1)=2^{b}(2^{a-b}-1)$$ Does anyone know how to continue this solution?