Difference between revisions of "2005 AMC 10A Problems/Problem 14"

(See also)
(Solution 4)
 
(16 intermediate revisions by 7 users not shown)
Line 2: Line 2:
 
How many three-digit numbers satisfy the property that the middle digit is the average of the first and the last digits?  
 
How many three-digit numbers satisfy the property that the middle digit is the average of the first and the last digits?  
  
<math> \mathrm{(A) \ } 41\qquad \mathrm{(B) \ } 42\qquad \mathrm{(C) \ } 43\qquad \mathrm{(D) \ } 44\qquad \mathrm{(E) \ } 45 </math>
+
<math> \textbf{(A) } 41\qquad \textbf{(B) } 42\qquad \textbf{(C) } 43\qquad \textbf{(D) } 44\qquad \textbf{(E) } 45 </math>
  
 
==Solution 1==
 
==Solution 1==
Line 27: Line 27:
 
If the middle digit is <math>9</math>, the only possible number is <math>999</math>. So there is <math>1</math> number in this case.  
 
If the middle digit is <math>9</math>, the only possible number is <math>999</math>. So there is <math>1</math> number in this case.  
  
So the total number of three-digit numbers that satisfy the property is <math>2+4+6+8+9+7+5+3+1=45\Rightarrow E</math>
+
So the total number of three-digit numbers that satisfy the property is <math>2+4+6+8+9+7+5+3+1=\boxed{\textbf{(E) }45}</math>
  
== Solution 2 (much faster, slicker and more awesome)==
+
== Solution 2 ==
Alternatively, we could note that the middle digit is uniquely defined by the first and third digits since it is half of their sum. This also means that the sum of the first and third digits must be even. Since even numbers are formed either by adding two odd numbers or two even numbers, we can split our problem into 2 cases:
+
Alternatively, we could note that the middle digit is uniquely defined by the first and third digits since it is half of their sum. This also means that the sum of the first and third digits must be even. Since even numbers are formed either by adding two odd numbers or two even numbers, we can split our problem into <math>2</math> cases:
  
If both the first digit and the last digit are odd, then we have 1, 3, 5, 7, or 9 as choices for each of these digits, and there are <math>5\cdot5=25</math> numbers in this case.
+
If both the first digit and the last digit are odd, then we have <math>1, 3, 5, 7, </math> or <math>9</math> as choices for each of these digits, and there are <math>5\cdot5=25</math> numbers in this case.
  
If both the first and last digits are even, then we have 2, 4, 6, 8 as our choices for the first digit and 0, 2, 4, 6, 8 for the third digit. There are <math>4\cdot5=20</math> numbers here.
+
If both the first and last digits are even, then we have <math>2, 4, 6, 8</math> as our choices for the first digit and <math>0, 2, 4, 6, 8</math> for the third digit. There are <math>4\cdot5=20</math> numbers here.
  
The total number, then, is <math>20+25=45\Rightarrow E</math>
+
The total number, then, is <math>20+25=\boxed{\textbf{(E) }45}</math>
 +
 
 +
==Solution 3==
 +
As we noted in Solution 2, we note that the sum of the first and third digits has to be even. The first digit can have <math>9</math> possibilities <math>(1-9)</math>, and the third digit can have <math>10</math> possibilities <math>(0-9)</math>. This means there can be <math>9\cdot10=90</math> possible two-digit numbers in which the first digit and the third digit are digits. Exactly half of these would have their sum be divisible by <math>2</math> (since <math>90</math> is even), so our answer is <math>\frac{90}{2}=\boxed{\textbf{(E) }45}</math>
 +
 
 +
- [[User:Sweetmango77|SweetMango77]]
 +
 
 +
==Solution 4==
 +
 
 +
 
 +
If our first digit is odd, the last digit also has to be odd for there to be a whole number middle digit that is the average of the first and the last digits.
 +
 
 +
If our first digit is even, the last digit has to be even, or <math>0</math> for there to be a whole number middle digit that is the average of the first and the last digits.
 +
 
 +
As there are <math>5</math> different possible values for each starting digit of our number, we can multiply that by the number of possible first digits <math>(1-9)</math> to achieve our desired solution. <math>5 \cdot 9 = \boxed{\textbf{(E) }45}</math>
 +
 
 +
-JinhoK
 +
 
 +
==Video Solution==
 +
CHECK OUT Video Solution: https://youtu.be/eItd9O8cCnQ
  
 
==See also==
 
==See also==
{{AMC10 box|year=2005|ab=A|num-b=13|num-a=1}}
+
{{AMC10 box|year=2005|ab=A|num-b=13|num-a=15}}
  
 
[[Category:Introductory Number Theory Problems]]
 
[[Category:Introductory Number Theory Problems]]
 
{{MAA Notice}}
 
{{MAA Notice}}

Latest revision as of 19:25, 13 December 2021

Problem

How many three-digit numbers satisfy the property that the middle digit is the average of the first and the last digits?

$\textbf{(A) } 41\qquad \textbf{(B) } 42\qquad \textbf{(C) } 43\qquad \textbf{(D) } 44\qquad \textbf{(E) } 45$

Solution 1

If the middle digit is the average of the first and last digits, twice the middle digit must be equal to the sum of the first and last digits.

Doing some casework:

If the middle digit is $1$, possible numbers range from $111$ to $210$. So there are $2$ numbers in this case.

If the middle digit is $2$, possible numbers range from $123$ to $420$. So there are $4$ numbers in this case.

If the middle digit is $3$, possible numbers range from $135$ to $630$. So there are $6$ numbers in this case.

If the middle digit is $4$, possible numbers range from $147$ to $840$. So there are $8$ numbers in this case.

If the middle digit is $5$, possible numbers range from $159$ to $951$. So there are $9$ numbers in this case.

If the middle digit is $6$, possible numbers range from $369$ to $963$. So there are $7$ numbers in this case.

If the middle digit is $7$, possible numbers range from $579$ to $975$. So there are $5$ numbers in this case.

If the middle digit is $8$, possible numbers range from $789$ to $987$. So there are $3$ numbers in this case.

If the middle digit is $9$, the only possible number is $999$. So there is $1$ number in this case.

So the total number of three-digit numbers that satisfy the property is $2+4+6+8+9+7+5+3+1=\boxed{\textbf{(E) }45}$

Solution 2

Alternatively, we could note that the middle digit is uniquely defined by the first and third digits since it is half of their sum. This also means that the sum of the first and third digits must be even. Since even numbers are formed either by adding two odd numbers or two even numbers, we can split our problem into $2$ cases:

If both the first digit and the last digit are odd, then we have $1, 3, 5, 7,$ or $9$ as choices for each of these digits, and there are $5\cdot5=25$ numbers in this case.

If both the first and last digits are even, then we have $2, 4, 6, 8$ as our choices for the first digit and $0, 2, 4, 6, 8$ for the third digit. There are $4\cdot5=20$ numbers here.

The total number, then, is $20+25=\boxed{\textbf{(E) }45}$

Solution 3

As we noted in Solution 2, we note that the sum of the first and third digits has to be even. The first digit can have $9$ possibilities $(1-9)$, and the third digit can have $10$ possibilities $(0-9)$. This means there can be $9\cdot10=90$ possible two-digit numbers in which the first digit and the third digit are digits. Exactly half of these would have their sum be divisible by $2$ (since $90$ is even), so our answer is $\frac{90}{2}=\boxed{\textbf{(E) }45}$

- SweetMango77

Solution 4

If our first digit is odd, the last digit also has to be odd for there to be a whole number middle digit that is the average of the first and the last digits.

If our first digit is even, the last digit has to be even, or $0$ for there to be a whole number middle digit that is the average of the first and the last digits.

As there are $5$ different possible values for each starting digit of our number, we can multiply that by the number of possible first digits $(1-9)$ to achieve our desired solution. $5 \cdot 9 = \boxed{\textbf{(E) }45}$

-JinhoK

Video Solution

CHECK OUT Video Solution: https://youtu.be/eItd9O8cCnQ

See also

2005 AMC 10A (ProblemsAnswer KeyResources)
Preceded by
Problem 13
Followed by
Problem 15
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
All AMC 10 Problems and Solutions

The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions. AMC logo.png