Let $x_{1},x_{2},\cdots,x_{r}$ be positive integers such that $$1\le x_{1}\le x_{2}\le \cdots\le x_{r}$$ and $$\prod_{i=1}^{r}\left(1+\dfrac{1}{x_{i}}\right)<2.$$
then Show that $$\prod_{i=1}^{r}\left(1+\dfrac{1}{x_{i}}\right)\le \dfrac{2^{2^r}-1}{2^{2^r-1}}\tag{1}$$ if and only if $x_{i}=2^{2^{i-1}}$
I know about the following similar problem (called the Erdos conjecture,and I know it has been solved)
if the $a_n$ are postive integers such that $$\dfrac{1}{a_{1}}+\dfrac{1}{a_{2}}+\cdots+\dfrac{1}{a_{n}}<1$$ then find the maximum value of $$ \dfrac{1}{a_{1}}+\dfrac{1}{a_{2}}+\cdots+\dfrac{1}{a_{n}}$$ and the solution to this problem is given by the sequence $\{r_{n}\}$ defined by $$r_{1}=2,r_{n}=r_{1}r_{2}\cdots r_{n-1}+1.n\ge 2$$ we have $$\max{\left(\dfrac{1}{a_{1}}+\dfrac{1}{a_{2}}+\cdots+\dfrac{1}{a_{n}}\right)}\le\dfrac{1}{r_{1}}+\dfrac{1}{r_{2}}+\cdots+\dfrac{1}{r_{n}}$$ the full solution can see China Team Selection Test 1987 :http://www.artofproblemsolving.com/Forum/viewtopic.php?p=234089&sid=f7910d60017435727b0f23367e47f02a#p234089
Thank you
For inequality $(1)$, I tried using the recursion $r_{n}=(r_{n-1})^2,\,r_{1}=2$, but failed.Thank you