Difference between revisions of "2016 AMC 10B Problems/Problem 18"

(Solution)
(Solution 3 (Fast And Clean))
 
(30 intermediate revisions by 18 users not shown)
Line 5: Line 5:
 
<math>\textbf{(A)}\ 1\qquad\textbf{(B)}\ 3\qquad\textbf{(C)}\ 5\qquad\textbf{(D)}\ 6\qquad\textbf{(E)}\ 7</math>
 
<math>\textbf{(A)}\ 1\qquad\textbf{(B)}\ 3\qquad\textbf{(C)}\ 5\qquad\textbf{(D)}\ 6\qquad\textbf{(E)}\ 7</math>
  
==Solution==
+
==Solution 1==
Let us have two cases, where <math>345</math> is the sum of increasing odd number of numbers and even number of numbers.
+
Factor <math>345=3\cdot 5\cdot 23</math>.
  
Case 1: Sum of increasing odd number of numbers:
+
Suppose we take an odd number <math>k</math> of consecutive integers, with the median as <math>m</math>. Then <math>mk=345</math> with <math>\tfrac12k<m</math>.
The mean of an arithmetic sequences with an odd number of numbers is the middle term.
+
Looking at the factors of <math>345</math>, the possible values of <math>k</math> are <math>3,5,15,23</math> with medians as <math>115,69,23,15</math> respectively.
Let us call the middle term <math>x</math>, and the number of terms <math>n</math>.
 
  <math>x*n=345</math>
 
We can break down <math>345</math> into <math>3*5*23</math>. Thus our possible <math>(x,n)</math> are the following: <math>(1,345)</math>,<math>(3,105)</math>,<math>(5,69)</math>,<math>(15,23)</math>,<math>(23,15)</math>,<math>(69,5)</math>,<math>(105,3)</math>,<math>(345,1)</math>
 
However, the erroneous solutions which have negatives or have only 1 term are the following:
 
<math>(1,345)</math>,<math>(3,105)</math>,<math>(5,69)</math>,<math>(15,23)</math>,<math>(345,1)</math>
 
So, we are left with:
 
<math>(23,15)</math>,<math>(69,5)</math> and <math>(105,3)</math>
 
Which gives us three possible ways.
 
  
Case 2: Sum of increasing even number of numbers:
+
Suppose instead we take an even number <math>2k</math> of consecutive integers, with median being the average of <math>m</math> and <math>m+1</math>. Then <math>k(2m+1)=345</math> with <math>k\le m</math>.
If the first term is <math>x</math> and there are <math>n</math> numbers, this is the following sum:
+
Looking again at the factors of <math>345</math>, the possible values of <math>k</math> are <math>1,3,5</math> with medians <math>(172,173),(57,58),(34,35)</math> respectively.
<math>x+x+1+x+2+...+x+(n-1)=</math>
+
 
<math>xn+1+2+3+...+n-1=</math>
+
Thus the answer is <math>\boxed{\textbf{(E) }7}</math>.
<math>xn+n(n-1)/2=</math>
+
 
  <math>n/2(2x+n-1)=</math>
+
==Solution 2==
In this case we have our following (x,n):
+
 
<math>(-344,690)</math>,<math>(-108,210)</math>,<math>(-66,138)</math>,<math>(-15,46)</math>,<math>(-3,30)</math>,<math>(30,10)</math>,<math>(50,6)</math>,<math>(172,2)</math>
+
We need to find consecutive numbers (an arithmetic sequence that increases by <math>1</math>) that sums to <math>345</math>. This calls for the sum of an arithmetic sequence given that the first term is <math>k</math>, the last term is <math>g</math> and with <math>n</math> elements, which is: <math>\frac {n \cdot (k+g)}{2}</math>.
Taking out our erroneous solutions:
+
 
<math>(30,10)</math>,<math>(50,6)</math>,<math>(172,2)</math>
+
We look for sequences of <math>n</math> consecutive numbers starting at <math>k</math> and ending at <math>k+n-1</math>. We can now substitute <math>g</math> with <math>k+n-1</math>. Now we substitute our new value of <math>g</math> into <math>\frac {n \cdot (k+g)}{2}</math> to get that the sum is <math>\frac {n \cdot (k+k+n-1)}{2} = 345</math>.
Which also gives us three ways.
+
 
Counting our cases: <math>3</math>+<math>3</math>=<math>6</math>,<math>D</math>
+
This simplifies to <math>\frac {n \cdot (2k+n-1)}{2} = 345</math>. This gives a nice equation. We multiply out the 2 to get that <math>n \cdot (2k+n-1)=690</math>. This leaves us with 2 integers that multiply to <math>690</math> which leads us to think of factors of <math>690</math>. We know the factors of <math>690</math> are: <math>1,2,3,5,6,10,15,23,30,46,69,115,138,230,345,690</math>. So through inspection (checking), we see that only <math>2,3,5,6,10,15</math> and <math>23</math> work. This gives us the answer of <math>\boxed{\textbf{(E) }7}</math> ways.
 +
 
 +
~~jk23541
 +
 
 +
 
 +
An alternate way to finish.
 +
 
 +
Let
 +
<cmath>
 +
\begin{align*}
 +
2k+n-1 &=\frac{690}{k} \\
 +
n &= k \\
 +
\end{align*}
 +
</cmath>
 +
where <math>k</math> is a factor of <math>690.</math>
 +
We find <math>2k = 1+\frac{690}{k}-k</math> so we need <math>\frac{690}{k} - k</math> to be positive and odd. Fortunately, regardless of the parity of <math>k</math> we see that <math>\frac{690}{k} - k</math> is odd. Furthermore, we need <math>\frac{690}{k} >k</math> which eliminates exact half of the factors. Now, since we need more than <math>1</math> integer to sum up we need <math>k \ge 2</math> which eliminates one more case. There were <math>16</math> cases to begin with, so our answer is <math>\frac{16}{2}-1 = \boxed{\textbf{(E) }7}</math> ways.
 +
 
 +
==Solution 2.1==
 +
At the very end of Solution 2, where we find the factors of 690, instead of inspection, notice that all numbers will work until you get to <math>30</math>, and that is because <math>\frac{345}{30}=11.5</math>, which means <math>11</math> and <math>12</math> must be the middle 2 numbers; however, a sequence of length <math>30</math> with middle numbers <math>11</math> and <math>12</math> that consists only of integers would go into the negatives, so any number from 30 onwards wouldn't work, and since <math>1</math> is a trivial, non-counted solution, we get <math>\boxed{\textbf{(E) }7}</math> -ColtsFan10
 +
 
 +
==Solution 3 (Fast And Clean)==
 +
The median of the sequence <math>m</math> is either an integer or a half integer. Let <math>m=\frac{i}{2}, i \in N</math>, then <math>P=i\cdot n=2\cdot 3 \cdot 5 \cdot 23</math>.
 +
 
 +
On the other hand we have two constraints:  
 +
 
 +
1) <math>m \geq \frac{n+1}{2} \iff i>n</math> because the integers in the sequence are all positive, and <math>n>1</math>;
 +
 
 +
2) If <math>n</math> is odd then <math>m</math> is an integer, <math>i</math> is even; if <math>n</math> is even then <math>m</math> is a half integer, <math>i</math> is odd. Therefore, <math>n</math> and <math>i</math> have opposite parity.
 +
 
 +
Now <math>P</math> has <math>16</math> factors and it is not a perfect square. There are <math>8-1=7</math> choices for <math>1 < n < \sqrt{P}</math>. Also since <math>2|P, 4\nmid P</math>, we know <math>n</math> and <math>\frac{P}{n}</math> must have opposite parity. Therefore the answer is <math>\boxed{\textbf{(E) }7}</math>.
 +
 
 +
~ asops
 +
 
 +
==Video Solution 1==
 +
https://youtu.be/dwEm_PcmaYg
 +
 
 +
~savannahsolver
 +
 
 +
== Video Solution 2==
 +
https://youtu.be/ZhAZ1oPe5Ds?t=950
 +
 
 +
~ pi_is_3.14
 +
 
 +
==See Also==
 +
{{AMC10 box|year=2016|ab=B|num-b=17|num-a=19}}
 +
 
 +
[[Category:Introductory Number Theory Problems]]
 +
{{MAA Notice}}

Latest revision as of 15:55, 9 June 2023

Problem

In how many ways can $345$ be written as the sum of an increasing sequence of two or more consecutive positive integers?

$\textbf{(A)}\ 1\qquad\textbf{(B)}\ 3\qquad\textbf{(C)}\ 5\qquad\textbf{(D)}\ 6\qquad\textbf{(E)}\ 7$

Solution 1

Factor $345=3\cdot 5\cdot 23$.

Suppose we take an odd number $k$ of consecutive integers, with the median as $m$. Then $mk=345$ with $\tfrac12k<m$. Looking at the factors of $345$, the possible values of $k$ are $3,5,15,23$ with medians as $115,69,23,15$ respectively.

Suppose instead we take an even number $2k$ of consecutive integers, with median being the average of $m$ and $m+1$. Then $k(2m+1)=345$ with $k\le m$. Looking again at the factors of $345$, the possible values of $k$ are $1,3,5$ with medians $(172,173),(57,58),(34,35)$ respectively.

Thus the answer is $\boxed{\textbf{(E) }7}$.

Solution 2

We need to find consecutive numbers (an arithmetic sequence that increases by $1$) that sums to $345$. This calls for the sum of an arithmetic sequence given that the first term is $k$, the last term is $g$ and with $n$ elements, which is: $\frac {n \cdot (k+g)}{2}$.

We look for sequences of $n$ consecutive numbers starting at $k$ and ending at $k+n-1$. We can now substitute $g$ with $k+n-1$. Now we substitute our new value of $g$ into $\frac {n \cdot (k+g)}{2}$ to get that the sum is $\frac {n \cdot (k+k+n-1)}{2} = 345$.

This simplifies to $\frac {n \cdot (2k+n-1)}{2} = 345$. This gives a nice equation. We multiply out the 2 to get that $n \cdot (2k+n-1)=690$. This leaves us with 2 integers that multiply to $690$ which leads us to think of factors of $690$. We know the factors of $690$ are: $1,2,3,5,6,10,15,23,30,46,69,115,138,230,345,690$. So through inspection (checking), we see that only $2,3,5,6,10,15$ and $23$ work. This gives us the answer of $\boxed{\textbf{(E) }7}$ ways.

~~jk23541


An alternate way to finish.

Let \begin{align*} 2k+n-1 &=\frac{690}{k} \\ n &= k \\ \end{align*} where $k$ is a factor of $690.$ We find $2k = 1+\frac{690}{k}-k$ so we need $\frac{690}{k} - k$ to be positive and odd. Fortunately, regardless of the parity of $k$ we see that $\frac{690}{k} - k$ is odd. Furthermore, we need $\frac{690}{k} >k$ which eliminates exact half of the factors. Now, since we need more than $1$ integer to sum up we need $k \ge 2$ which eliminates one more case. There were $16$ cases to begin with, so our answer is $\frac{16}{2}-1 = \boxed{\textbf{(E) }7}$ ways.

Solution 2.1

At the very end of Solution 2, where we find the factors of 690, instead of inspection, notice that all numbers will work until you get to $30$, and that is because $\frac{345}{30}=11.5$, which means $11$ and $12$ must be the middle 2 numbers; however, a sequence of length $30$ with middle numbers $11$ and $12$ that consists only of integers would go into the negatives, so any number from 30 onwards wouldn't work, and since $1$ is a trivial, non-counted solution, we get $\boxed{\textbf{(E) }7}$ -ColtsFan10

Solution 3 (Fast And Clean)

The median of the sequence $m$ is either an integer or a half integer. Let $m=\frac{i}{2}, i \in N$, then $P=i\cdot n=2\cdot 3 \cdot 5 \cdot 23$.

On the other hand we have two constraints:

1) $m \geq \frac{n+1}{2} \iff i>n$ because the integers in the sequence are all positive, and $n>1$;

2) If $n$ is odd then $m$ is an integer, $i$ is even; if $n$ is even then $m$ is a half integer, $i$ is odd. Therefore, $n$ and $i$ have opposite parity.

Now $P$ has $16$ factors and it is not a perfect square. There are $8-1=7$ choices for $1 < n < \sqrt{P}$. Also since $2|P, 4\nmid P$, we know $n$ and $\frac{P}{n}$ must have opposite parity. Therefore the answer is $\boxed{\textbf{(E) }7}$.

~ asops

Video Solution 1

https://youtu.be/dwEm_PcmaYg

~savannahsolver

Video Solution 2

https://youtu.be/ZhAZ1oPe5Ds?t=950

~ pi_is_3.14

See Also

2016 AMC 10B (ProblemsAnswer KeyResources)
Preceded by
Problem 17
Followed by
Problem 19
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