Difference between revisions of "2008 AIME I Problems/Problem 4"
(→Solution 2: yikers) |
m (quad residues) |
||
Line 2: | Line 2: | ||
There exist unique positive integers <math>x</math> and <math>y</math> that satisfy the equation <math>x^2 + 84x + 2008 = y^2</math>. Find <math>x + y</math>. | There exist unique positive integers <math>x</math> and <math>y</math> that satisfy the equation <math>x^2 + 84x + 2008 = y^2</math>. Find <math>x + y</math>. | ||
+ | __TOC__ | ||
== Solution == | == Solution == | ||
===Solution 1=== | ===Solution 1=== | ||
Line 11: | Line 12: | ||
===Solution 2=== | ===Solution 2=== | ||
− | We complete the square like in the first solution: <math>y^2 = (x+42)^2 + 244</math>. Since consecutive squares differ by the consecutive odd numbers, we note that <math>y</math> and <math>x+42</math> must differ by an even number. We can use casework starting | + | We complete the square like in the first solution: <math>y^2 = (x+42)^2 + 244</math>. Since consecutive squares differ by the consecutive odd numbers, we note that <math>y</math> and <math>x+42</math> must differ by an even number. We can use casework with the even numbers, starting with <math>y-(x+42)=2</math>. |
− | + | ||
− | + | <cmath>\begin{align*}2(x+42)+1+2(x+42)+3&=244\\ | |
+ | \Rightleftarrow x&=18\end{align*}</cmath> | ||
+ | |||
Thus, <math>y=62</math>, and <math>x+y=80</math>. | Thus, <math>y=62</math>, and <math>x+y=80</math>. | ||
+ | |||
+ | ===Solution 3=== | ||
+ | <math>\mod{6}</math>, we see that <math>y^2 \equiv x^2 + 4 \pmod{6}</math>; by [[quadratic residue]]s, we find that either <math>x \equiv 0, 3 \pmod{6}</math>. Also, <math>\mod{4}</math>, <math>y^2 \equiv (x+42)^2 + 244 \equiv (x+2)^2 \pmod{4}</math>, and so <math>x \equiv 0, 2 \mod{4}</math>. Combining, we see that <math>x \equiv 0 \mod{6}</math>. | ||
+ | |||
+ | Testing <math>x = 6</math> and other multiples of <math>6</math>, we quickly find that <math>x = 18, y = 62</math> is the solution. | ||
== See also == | == See also == |
Revision as of 21:43, 24 March 2008
Problem
There exist unique positive integers and that satisfy the equation . Find .
Solution
Solution 1
Completing the square, . Thus by difference of squares.
Since is even, one of the factors is even. A parity check shows that if one of them is even, then both must be even. Sine , the factors must be and . Since , we have and ; the latter equation implies that .
Indeed, by solving, we find is the unique solution.
Solution 2
We complete the square like in the first solution: . Since consecutive squares differ by the consecutive odd numbers, we note that and must differ by an even number. We can use casework with the even numbers, starting with .
\begin{align*}2(x+42)+1+2(x+42)+3&=244\\ \Rightleftarrow x&=18\end{align*} (Error compiling LaTeX. Unknown error_msg)
Thus, , and .
Solution 3
, we see that ; by quadratic residues, we find that either . Also, , , and so . Combining, we see that .
Testing and other multiples of , we quickly find that is the solution.
See also
2008 AIME I (Problems • Answer Key • Resources) | ||
Preceded by Problem 3 |
Followed by Problem 5 | |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 | ||
All AIME Problems and Solutions |