Difference between revisions of "2006 IMO Problems/Problem 4"

 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Determine all pairs <math>(x, y)</math> of integer such that <math>1+2^x+2^{2x+1}=y^2</math>.
+
===Problem===
 +
Determine all pairs <math>(x, y)</math> of integers such that <cmath>1+2^{x}+2^{2x+1}= y^{2}.</cmath>
 +
 
 +
 
 +
===Solution===
 +
If <math>(x,y)</math> is a solution then obviously <math>x\geq 0</math> and <math>(x,-y)</math> is a solution too.  For <math>x=0</math> we get the two solutions <math>(0,2)</math> and <math>(0,-2)</math>.
 +
 
 +
Now let <math>(x,y)</math> be a solution with <math>x > 0</math>; without loss of generality confine attention to <math>y > 0</math>.  The equation rewritten as <cmath>2^x(1+2^{x+1}) = (y-1)(y+1)</cmath> shows that the factors <math>y-1</math> and <math>y+1</math> are even, exactly one of them divisible by <math>4</math>.  Hence <math>x\geq 3</math> and one  of these factors is divisible by <math>2^{x-1}</math> but not by <math>2^x</math>.  So
 +
<cmath>y = 2^{x-1}m + \varepsilon, \qquad m\text{ odd},\qquad \varepsilon = \pm 1.\qquad\qquad(*)</cmath>
 +
Plugging this into the original equation we obtain
 +
<cmath>2^x(1+2^{x+1}) = (2^{x+1}m + \varepsilon)^2 - 1 = 2^{2x-2}m^2 + 2^xm\varepsilon,</cmath>
 +
or, equivalently <cmath>1 + 2^{x+1} = 2^{x-2}m^2 + m\varepsilon.</cmath> Therefore <cmath>1 - \varepsilon m = 2^{x-2}(m^2 - 8).\qquad(\dagger) </cmath> For <math>\varepsilon = 1</math> this yields <math>m^2 - 8 < 0</math>, i.e. <math>m=1</math>, which fails to satisfy <math>(\dagger)</math>. For <math>\varepsilon = -1</math> equation <math>(\dagger)</math> gives us <cmath>1 + m = 2^{x-2}(m^2 - 8) \geq 2(m^2 - 8),</cmath> implying <math>2m^2 - m - 17 \leq 0</math>.  Hence <math>m\leq 3</math>; on the other hand <math>m</math> cannot be <math>1</math> by <math>(\dagger)</math>.  Because <math>m</math> is odd, we obtain <math>m=3</math>, leading to <math>x=4</math>.  From <math>(*)</math> we get <math>y=23</math>.  These values indeed satisfy the given equation.  Recall that then <math>y = -23</math> is also good.  Thus we have the complete list of solutions <math>(x,y)</math>: <math>(0,2)</math>, <math>(0,-2)</math>, <math>(4,23)</math>, <math>(4,-23)</math>.
 +
 
 +
==See Also==
 +
 
 +
{{IMO box|year=2006|num-b=3|num-a=5}}

Latest revision as of 00:03, 19 November 2023

Problem

Determine all pairs $(x, y)$ of integers such that \[1+2^{x}+2^{2x+1}= y^{2}.\]


Solution

If $(x,y)$ is a solution then obviously $x\geq 0$ and $(x,-y)$ is a solution too. For $x=0$ we get the two solutions $(0,2)$ and $(0,-2)$.

Now let $(x,y)$ be a solution with $x > 0$; without loss of generality confine attention to $y > 0$. The equation rewritten as \[2^x(1+2^{x+1}) = (y-1)(y+1)\] shows that the factors $y-1$ and $y+1$ are even, exactly one of them divisible by $4$. Hence $x\geq 3$ and one of these factors is divisible by $2^{x-1}$ but not by $2^x$. So \[y = 2^{x-1}m + \varepsilon, \qquad m\text{ odd},\qquad \varepsilon = \pm 1.\qquad\qquad(*)\] Plugging this into the original equation we obtain \[2^x(1+2^{x+1}) = (2^{x+1}m + \varepsilon)^2 - 1 = 2^{2x-2}m^2 + 2^xm\varepsilon,\] or, equivalently \[1 + 2^{x+1} = 2^{x-2}m^2 + m\varepsilon.\] Therefore \[1 - \varepsilon m = 2^{x-2}(m^2 - 8).\qquad(\dagger)\] For $\varepsilon = 1$ this yields $m^2 - 8 < 0$, i.e. $m=1$, which fails to satisfy $(\dagger)$. For $\varepsilon = -1$ equation $(\dagger)$ gives us \[1 + m = 2^{x-2}(m^2 - 8) \geq 2(m^2 - 8),\] implying $2m^2 - m - 17 \leq 0$. Hence $m\leq 3$; on the other hand $m$ cannot be $1$ by $(\dagger)$. Because $m$ is odd, we obtain $m=3$, leading to $x=4$. From $(*)$ we get $y=23$. These values indeed satisfy the given equation. Recall that then $y = -23$ is also good. Thus we have the complete list of solutions $(x,y)$: $(0,2)$, $(0,-2)$, $(4,23)$, $(4,-23)$.

See Also

2006 IMO (Problems) • Resources
Preceded by
Problem 3
1 2 3 4 5 6 Followed by
Problem 5
All IMO Problems and Solutions