Difference between revisions of "2005 Alabama ARML TST Problems/Problem 14"

(See also)
(Solution)
Line 3: Line 3:
  
 
==Solution==
 
==Solution==
<math>x^2-2y^2=1</math> means that <math>x</math> is odd. We can let <math>x=2x_1-1</math>:
+
<math>x^2-2y^2=1</math> means that <math>x</math> is odd. We can let <math>x=2x_1-1</math> for some <math>x_1>0</math>:
  
 
<cmath>4x_1^2-4x_1-2y^2=0\Longrightarrow 2x_1^2-2x_1=y^2</cmath>
 
<cmath>4x_1^2-4x_1-2y^2=0\Longrightarrow 2x_1^2-2x_1=y^2</cmath>
  
y is even, <math>y=2y_1</math>.
+
y is even, <math>y=2y_1</math> for some <math>y_1>0</math>.
  
<cmath>2x_1^2-2x_1=4y_1^2\Longrightarrow x_1^2-x_1=x_1(x_1-1)=2y^2</cmath>
+
<cmath>2x_1^2-2x_1=4y_1^2\Longrightarrow x_1^2-x_1=x_1(x_1-1)=2y_1^2</cmath>
  
 
We need to find all integers <math>x_1</math> such that <math>x_1(x_1-1)</math> is twice a perfect square.
 
We need to find all integers <math>x_1</math> such that <math>x_1(x_1-1)</math> is twice a perfect square.
  
Since <math>x_1</math> and <math>x_1-1</math> are relatively prime, then either <math>x_1</math> is a perfect square or twice a perfect square, and the same for <math>x_1-1</math>.
+
Since <math>x_1</math> and <math>x_1-1</math> are relatively prime, one of them is a perfect square and the other is twice a perfect square. Moreover, the perfect square must be odd.
  
Let's say that <math>x_1</math> is the perfect square. Then x_1 is odd. We check some:
+
We will now find four smallest solutions for <math>x_1</math>. Obviously, these will give the four smallest solutions for <math>x+y</math>.
  
<math>x_1=9</math> works.
+
Each time we examine whether the value <math>y_1=\sqrt{\frac{x_1(x_1-1)}2}</math> is a positive integer.
  
<math>x_1=289</math> also works.
+
* <math>x_1=1</math> gives <math>y_1=0</math> which is not positive.
 
+
* <math>x_1-1=1</math> gives <math>y_1=1</math>, hence <math>(x,y)=(3,2)</math>.
We should be able to find some smaller ones when <math>x_1</math> is twice a perfect square, so we try that.
+
* <math>x_1=9</math> gives <math>y_1=6</math>, hence <math>(x,y)=(17,12)</math>.
 
+
* <math>x_1-1=9</math> gives <math>y_1=\sqrt{9\cdot 5}</math>.
<math>x_1=2</math> works.
+
* <math>x_1=25</math> gives <math>y_1=\sqrt{25\cdot 12}</math>.
 
+
* <math>x_1-1=25</math> gives <math>y_1=\sqrt{25\cdot 13}</math>.
<math>x_1=50</math> works.
+
* <math>x_1=49</math> gives <math>y_1=\sqrt{49\cdot 24}</math>.
 
+
* <math>x_1-1=49</math> gives <math>y_1=\sqrt{49\cdot 25}=35</math>, hence <math>(x,y)=(99,70)</math>.
We need to make sure that there is no others below 289. We check all other twice perfect squares, so 289 is the smallest <math>x_1</math>, and then <math>y_1=204</math>. Then we get <math>x=577</math> and <math>y=408</math>. <math>x+y=\boxed{985}</math>.
+
* <math>x_1=81</math> gives <math>y_1=\sqrt{81\cdot 40}</math>.
 +
* <math>x_1-1=81</math> gives <math>y_1=\sqrt{81\cdot 41}</math>.
 +
* <math>x_1=121</math> gives <math>y_1=\sqrt{121\cdot 60}</math>.
 +
* <math>x_1-1=121</math> gives <math>y_1=\sqrt{121\cdot 61}</math>.
 +
* <math>x_1=169</math> gives <math>y_1=\sqrt{169\cdot 84}</math>.
 +
* <math>x_1-1=169</math> gives <math>y_1=\sqrt{169\cdot 85}</math>.
 +
* <math>x_1=225</math> gives <math>y_1=\sqrt{225\cdot 112}</math>.
 +
* <math>x_1-1=225</math> gives <math>y_1=\sqrt{225\cdot 113}</math>.
 +
* <math>x_1=289</math> gives <math>y_1=\sqrt{289\cdot 144}=17\cdot 12 = 204</math>, hence <math>(x,y)=(577,408)</math>, and the answer is <math>x+y=\boxed{985}</math>.
  
 
==See also==
 
==See also==

Revision as of 11:49, 26 January 2009

Problem

Find the fourth smallest possible value of $x+y$ where x and y are positive integers that satisfy the following equation:

$x^2-2y^2=1$.

Solution

$x^2-2y^2=1$ means that $x$ is odd. We can let $x=2x_1-1$ for some $x_1>0$:

\[4x_1^2-4x_1-2y^2=0\Longrightarrow 2x_1^2-2x_1=y^2\]

y is even, $y=2y_1$ for some $y_1>0$.

\[2x_1^2-2x_1=4y_1^2\Longrightarrow x_1^2-x_1=x_1(x_1-1)=2y_1^2\]

We need to find all integers $x_1$ such that $x_1(x_1-1)$ is twice a perfect square.

Since $x_1$ and $x_1-1$ are relatively prime, one of them is a perfect square and the other is twice a perfect square. Moreover, the perfect square must be odd.

We will now find four smallest solutions for $x_1$. Obviously, these will give the four smallest solutions for $x+y$.

Each time we examine whether the value $y_1=\sqrt{\frac{x_1(x_1-1)}2}$ is a positive integer.

  • $x_1=1$ gives $y_1=0$ which is not positive.
  • $x_1-1=1$ gives $y_1=1$, hence $(x,y)=(3,2)$.
  • $x_1=9$ gives $y_1=6$, hence $(x,y)=(17,12)$.
  • $x_1-1=9$ gives $y_1=\sqrt{9\cdot 5}$.
  • $x_1=25$ gives $y_1=\sqrt{25\cdot 12}$.
  • $x_1-1=25$ gives $y_1=\sqrt{25\cdot 13}$.
  • $x_1=49$ gives $y_1=\sqrt{49\cdot 24}$.
  • $x_1-1=49$ gives $y_1=\sqrt{49\cdot 25}=35$, hence $(x,y)=(99,70)$.
  • $x_1=81$ gives $y_1=\sqrt{81\cdot 40}$.
  • $x_1-1=81$ gives $y_1=\sqrt{81\cdot 41}$.
  • $x_1=121$ gives $y_1=\sqrt{121\cdot 60}$.
  • $x_1-1=121$ gives $y_1=\sqrt{121\cdot 61}$.
  • $x_1=169$ gives $y_1=\sqrt{169\cdot 84}$.
  • $x_1-1=169$ gives $y_1=\sqrt{169\cdot 85}$.
  • $x_1=225$ gives $y_1=\sqrt{225\cdot 112}$.
  • $x_1-1=225$ gives $y_1=\sqrt{225\cdot 113}$.
  • $x_1=289$ gives $y_1=\sqrt{289\cdot 144}=17\cdot 12 = 204$, hence $(x,y)=(577,408)$, and the answer is $x+y=\boxed{985}$.

See also

2005 Alabama ARML TST (Problems)
Preceded by:
Problem 13
Followed by:
Problem 15
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15