Difference between revisions of "2023 AMC 10B Problems/Problem 14"
Technodoggo (talk | contribs) |
|||
| Line 17: | Line 17: | ||
~Technodoggo | ~Technodoggo | ||
| + | |||
| + | ==Solution== | ||
| + | |||
| + | Case 1: <math>mn = 0</math>. | ||
| + | |||
| + | In this case, <math>m = n = 0</math>. | ||
| + | |||
| + | Case 2: <math>mn \neq 0</math>. | ||
| + | |||
| + | Denote <math>k = {\rm gcd} \left( m, n \right)</math>. | ||
| + | Denote <math>m = k u</math> and <math>n = k v</math>. | ||
| + | Thus, <math>{\rm gcd} \left( u, v \right) = 1</math>. | ||
| + | |||
| + | Thus, the equation given in this problem can be written as | ||
| + | <cmath> | ||
| + | \[ | ||
| + | u^2 + uv + v^2 = k^2 u^2 v^2 . | ||
| + | \] | ||
| + | </cmath> | ||
| + | |||
| + | Modulo <math>u</math>, we have <math>v^2 \equiv 0 \pmod{u}</math>. | ||
| + | Because <math>\left( u, v \right) = 1</math>, we must have <math>|u| = |v| = 1</math>. | ||
| + | Plugging this into the above equation, we get <math>2 + uv = k^2</math>. | ||
| + | Thus, we must have <math>uv = -1</math> and <math>k = 1</math>. | ||
| + | |||
| + | Thus, there are two solutions in this case: <math>\left( m , n \right) = \left( 1, -1 \right)</math> and <math>\left( m , n \right) = \left( -1, 1 \right)</math>. | ||
| + | |||
| + | Putting all cases together, the total number of solutions is | ||
| + | \boxed{\textbf{(C) 3}}. | ||
| + | |||
| + | ~Steven Chen (Professor Chen Education Palace, www.professorchenedu.com) | ||
Revision as of 17:10, 15 November 2023
How many ordered pairs of integers
satisfy the equation
?
Solution
Obviously,
is a solution.
This basically say that the product of two consecutive numbers
must be a perfect square which is practically impossible except
or
.
gives
.
gives
.
~Technodoggo
Solution
Case 1:
.
In this case,
.
Case 2:
.
Denote
.
Denote
and
.
Thus,
.
Thus, the equation given in this problem can be written as
Modulo
, we have
.
Because
, we must have
.
Plugging this into the above equation, we get
.
Thus, we must have
and
.
Thus, there are two solutions in this case:
and
.
Putting all cases together, the total number of solutions is \boxed{\textbf{(C) 3}}.
~Steven Chen (Professor Chen Education Palace, www.professorchenedu.com)