MathLabs

Problem 4

Determine all pairs (x,y)(x,y) of integers such that 1+2x+22x+1=y21+2^{x}+2^{2x+1}=y^{2}.
Step 6 of 7: Rule out one sign and bound the other
ε=1⟹m=1 (impossible),ε=−1⟹1+m=2x−2(m2−8)\varepsilon=1\Longrightarrow m=1\text{ (impossible)},\qquad \varepsilon=-1\Longrightarrow 1+m=2^{x-2}(m^2-8)
Detailed analysis

If ε=1\varepsilon=1, then 1−m=2x−2(m2−8)1-m=2^{x-2}(m^2-8) forces m2<8m^2<8, hence m=1m=1, but then the equation is false. Thus ε=−1\varepsilon=-1, and 1+m=2x−2(m2−8)1+m=2^{x-2}(m^2-8). Since x≥3x\ge3, 1+m≥2(m2−8)1+m\ge2(m^2-8), so 2m2−m−17≤02m^2-m-17\le0 and the positive odd integer mm satisfies m≤3m\le3. It cannot be 11, hence m=3m=3.