Difference between revisions of "2002 AIME II Problems/Problem 1"
(→Solution) |
m (→Problem: added spacing) |
||
(7 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
== Problem == | == Problem == | ||
Given that<br> | Given that<br> | ||
− | < | + | <cmath>\begin{eqnarray*}&(1)& x\text{ and }y\text{ are both integers between 100 and 999, inclusive;}\qquad \qquad \qquad \qquad \qquad \\ |
− | &(2)& \text{ | + | &(2)& y\text{ is the number formed by reversing the digits of }x\text{; and}\\ |
− | &(3)& z=|x-y|. \end{eqnarray*}</ | + | &(3)& z=|x-y|. |
+ | \end{eqnarray*}</cmath> | ||
+ | |||
How many distinct values of <math>z</math> are possible? | How many distinct values of <math>z</math> are possible? | ||
== Solution == | == Solution == | ||
− | We express the numbers as <math>x=100a+10b+c</math> and <math>y=100c+10b+a</math>. From this, we have < | + | We express the numbers as <math>x=100a+10b+c</math> and <math>y=100c+10b+a</math>. From this, we have |
− | \end{eqnarray*}</ | + | <cmath>\begin{eqnarray*}z&=&|100a+10b+c-100c-10b-a|\\&=&|99a-99c|\\&=&99|a-c|\\ |
− | Because <math>a</math> and <math>c</math> are digits, and <math>a</math> | + | \end{eqnarray*}</cmath> |
+ | Because <math>a</math> and <math>c</math> are digits, and <math>a</math> and <math>c</math> are both between 1 and 9 (from condition 1), there are <math>\boxed{009}</math> possible values (since all digits except <math>9</math> can be expressed this way). | ||
== See also == | == See also == | ||
{{AIME box|year=2002|n=II|before=First Question|num-a=2}} | {{AIME box|year=2002|n=II|before=First Question|num-a=2}} | ||
+ | |||
+ | [[Category: Intermediate Number Theory Problems]] | ||
+ | {{MAA Notice}} |
Latest revision as of 21:56, 11 February 2020
Problem
Given that
How many distinct values of are possible?
Solution
We express the numbers as and
. From this, we have
Because
and
are digits, and
and
are both between 1 and 9 (from condition 1), there are
possible values (since all digits except
can be expressed this way).
See also
2002 AIME II (Problems • Answer Key • Resources) | ||
Preceded by First Question |
Followed by Problem 2 | |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 | ||
All AIME Problems and Solutions |
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.