Navvye/Olympiad-Problems-CSV huggingface dataset:
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: 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{45}$

Answer: E 45
Problem: How many positive cubes divide $3! \cdot 5! \cdot 7!$
$\textbf{(A) } 2\qquad \textbf{(B) } 3\qquad \textbf{(C) } 4\qquad \textbf{(D) } 5\qquad \textbf{(E) } 6$

Solution: $3! \cdot 5! \cdot 7! = (3\cdot2\cdot1) \cdot (5\cdot4\cdot3\cdot2\cdot1) \cdot (7\cdot6\cdot5\cdot4\cdot3\cdot2\cdot1) = 2^{8}\cdot3^{4}\cdot5^{2}\cdot7^{1}$
Therefore, a perfect cube that divides $3! \cdot 5! \cdot 7!$ must be in the form $2^{a}\cdot3^{b}\cdot5^{c}\cdot7^{d}$ where $a$ $b$ $c$ , and $d$ are nonnegative multiples of $3$ that are less than or equal to $8, 5, 2$ and $1,$ respectively.
So:
$a\in\{0,3,6\}$ $3$ possibilities)
$b\in\{0,3\}$ $2$ possibilities)
$c\in\{0\}$ $1$ possibility)
$d\in\{0\}$ $1$ possibility)
So the number of perfect cubes that divide $3! \cdot 5! \cdot 7!$ is $3\cdot2\cdot1\cdot1 = \boxed{6}$

Answer: E 6
Problem: How many positive cubes divide $3! \cdot 5! \cdot 7!$
$\textbf{(A) } 2\qquad \textbf{(B) } 3\qquad \textbf{(C) } 4\qquad \textbf{(D) } 5\qquad \textbf{(E) } 6$

Solution: $3! \cdot 5! \cdot 7! = (3\cdot2\cdot1) \cdot (5\cdot4\cdot3\cdot2\cdot1) \cdot (7\cdot6\cdot5\cdot4\cdot3\cdot2\cdot1)$
In the expression, we notice that there are 3 $3's$ , 3 $2's$ , and 3 $1's$ . This gives us our first 3 cubes: $3^3$ $2^3$ , and $1^3$
However, we can also multiply smaller numbers in the expression to make bigger expressions. For example, $(2 \cdot 2) \cdot 4 \cdot 4=4 \cdot 4 \cdot 4 = 4^3$ (one 2 comes from the $3!$ , and the other from the $5!$ ). Using this method, we find:
$(3 \cdot 2) \cdot (3 \cdot 2) \cdot 6 = 6^3$
and
$(3 \cdot 4) \cdot (3 \cdot 4) \cdot (2 \cdot 6) = 12^3$
So, we have 6 cubes total: $1^3 ,2^3, 3^3, 4^3, 6^3,$ and $12^3$ for a total of $\boxed{6}$ cubes

Answer: E 6
Problem: The sum of the digits of a two-digit number is subtracted from the number. The units digit of the result is $6$ . How many two-digit numbers have this property?
$\textbf{(A) } 5\qquad \textbf{(B) } 7\qquad \textbf{(C) } 9\qquad \textbf{(D) } 10\qquad \textbf{(E) } 19$

Solution: Let the number be $10a+b$ where $a$ and $b$ are the tens and units digits of the number.
So $(10a+b)-(a+b)=9a$ must have a units digit of $6$
This is only possible if $9a=36$ , so $a=4$ is the only way this can be true.
So the numbers that have this property are $40, 41, 42, 43, 44, 45, 46, 47, 48, 49$
Therefore the answer is $\boxed{10}$

Answer: D 10
Problem: The sum of the digits of a two-digit number is subtracted from the number. The units digit of the result is $6$ . How many two-digit numbers have this property?
$\textbf{(A) } 5\qquad \textbf{(B) } 7\qquad \textbf{(C) } 9\qquad \textbf{(D) } 10\qquad \textbf{(E) } 19$

Solution: Let a two-digit number equal $10a+b$ , where $a$ and $b$ are the tens and units digits of the number.
From the problem, we have $10a+b-(a+b)=9a$
Now let $9a=10x+y$ , where $x$ and $y$ are the tens and units digits of the number. Then it must be that $y=6$ as stated in the problem.
Note that $10a$ ends in $0$ , but $9a$ ends in $6$ , so $a=4$ . We need not to care about $b$ , since it cancels out in the calculation.
So the answer is $\boxed{10}$ , since there are $10$ numbers that have $a=4$

Answer: D 10
Problem: In the five-sided star shown, the letters $A, B, C, D,$ and $E$ are replaced by the numbers $3, 5, 6, 7,$ and $9$ , although not necessarily in this order. The sums of the numbers at the ends of the line segments $AB$ $BC$ $CD$ $DE$ , and $EA$ form an arithmetic sequence, although not necessarily in that order. What is the middle term of the arithmetic sequence?
2005amc10a17.gif
$\textbf{(A) } 9\qquad \textbf{(B) } 10\qquad \textbf{(C) } 11\qquad \textbf{(D) } 12\qquad \textbf{(E) } 13$

Solution: Each corner $(A,B,C,D,E)$ goes to two sides/numbers. ( $A$ goes to $AE$ and $AB$ $D$ goes to $DC$ and $DE$ ). The sum of every term is equal to $2(3+5+6+7+9)=60$
Since the middle term in an arithmetic sequence is the average of all the terms in the sequence, the middle number is $\frac{60}{5}=\boxed{12}$

Answer: D 12
Problem: In the five-sided star shown, the letters $A, B, C, D,$ and $E$ are replaced by the numbers $3, 5, 6, 7,$ and $9$ , although not necessarily in this order. The sums of the numbers at the ends of the line segments $AB$ $BC$ $CD$ $DE$ , and $EA$ form an arithmetic sequence, although not necessarily in that order. What is the middle term of the arithmetic sequence?
2005amc10a17.gif
$\textbf{(A) } 9\qquad \textbf{(B) } 10\qquad \textbf{(C) } 11\qquad \textbf{(D) } 12\qquad \textbf{(E) } 13$

Solution: We know that the smallest number in this sequence must be $3 + 5 = 8$ , and the biggest number must be $7 + 9 = 16$ . Since there are $5$ terms in this sequence, we know that $8 + 4d = 16$ , or that $d = 2$ . Thus, we know that the middle term must be $8 + 2 \cdot 2 = \boxed{12}.$ ~yk2007 (Daniel K.)

Answer:  12
Problem: An equilangular octagon has four sides of length $1$ and four sides of length $\frac{\sqrt{2}}{2}$ , arranged so that no two consecutive sides have the same length.  What is the area of the octagon?
$\textbf{(A) } \frac72\qquad \textbf{(B) }  \frac{7\sqrt2}{2}\qquad \textbf{(C) }  \frac{5+4\sqrt2}{2}\qquad \textbf{(D) }  \frac{4+5\sqrt2}{2}\qquad \textbf{(E) }  7$

Solution: The area of the octagon can be divided up into $5$ squares with side $\frac{\sqrt2}2$ and $4$ right triangles, which are half the area of each of the squares.
Therefore, the area of the octagon is equal to the area of $5+4\left(\frac12\right)=7$ squares.
The area of each square is $\left(\frac{\sqrt2}2\right)^2=\frac12$ , so the area of $7$ squares is $\boxed{72}$

Answer: A 72
Problem: An equilangular octagon has four sides of length $1$ and four sides of length $\frac{\sqrt{2}}{2}$ , arranged so that no two consecutive sides have the same length.  What is the area of the octagon?
$\textbf{(A) } \frac72\qquad \textbf{(B) }  \frac{7\sqrt2}{2}\qquad \textbf{(C) }  \frac{5+4\sqrt2}{2}\qquad \textbf{(D) }  \frac{4+5\sqrt2}{2}\qquad \textbf{(E) }  7$

Solution: Refer to the following diagram:
AMC10 2005A P20.png
(Picture made on Geogebra)
Note that each square has area $\frac14$ , and each triangle has area $\frac18$ . The total area is $12\cdot\frac14+4\cdot\frac18=\frac72 \Longrightarrow \boxed{72}$

Answer: A 72
Problem: For how many positive integers $n$ does $1+2+...+n$ evenly divide from $6n$
$\textbf{(A) } 3\qquad \textbf{(B) } 5\qquad \textbf{(C) } 7\qquad \textbf{(D) } 9\qquad \textbf{(E) } 11$

Solution: If $1+2+...+n$ evenly divides $6n$ , then $\frac{6n}{1+2+...+n}$ is an integer
Since $1+2+...+n = \frac{n(n+1)}{2}$ we may substitute the RHS in the above fraction . So the problem asks us for how many positive integers $n$ is $\frac{6n}{\frac{n(n+1)}{2}}=\frac{12}{n+1}$ an integer, or equivalently when $k(n+1) = 12$ for a positive integer $k$
$\frac{12}{n+1}$ is an integer when $n+1$ is a factor of $12$
The factors of $12$ are $1, 2, 3, 4, 6,$ and $12$ , so the possible values of $n$ are $0, 1, 2, 3, 5,$ and $11$
But since $0$ isn't a positive integer, only $1, 2, 3, 5,$ and $11$ are the possible values of $n$ . Therefore the number of possible values of $n$ is $\boxed{5}$

Answer: B 5
Problem: Let $S$ be the set of the $2005$ smallest positive multiples of $4$ , and let $T$ be the set of the $2005$ smallest positive multiples of $6$ . How many elements are common to $S$ and $T$
$\textbf{(A) } 166\qquad \textbf{(B) } 333\qquad \textbf{(C) } 500\qquad \textbf{(D) } 668\qquad \textbf{(E) } 1001$

Solution: Since the least common multiple $\mathrm{lcm}(4,6)=12$ , the elements that are common to $S$ and $T$ must be multiples of $12$
Since $4\cdot2005=8020$ and $6\cdot2005=12030$ , several multiples of $12$ that are in $T$ won't be in $S$ , but all multiples of $12$ that are in $S$ will be in $T$ . So we just need to find the number of multiples of $12$ that are in $S$
Since $4\cdot3=12$ , every $3$ rd element of $S$ will be a multiple of $12$
Therefore the answer is $\left \lfloor\frac{2005}{3} \right \rfloor=\boxed{668}$

Answer: D 668
Problem: For each positive integer $n > 1$ , let $P(n)$ denote the greatest prime factor of $n$ . For how many positive integers $n$ is it true that both $P(n) = \sqrt{n}$ and $P(n+48) = \sqrt{n+48}$
$\textbf{(A) } 0\qquad \textbf{(B) } 1\qquad \textbf{(C) } 3\qquad \textbf{(D) } 4\qquad \textbf{(E) } 5$

Solution: If $P(n) = \sqrt{n}$ , then $n = p_{1}^{2}$ , where $p_{1}$ is a prime number
If $P(n+48) = \sqrt{n+48}$ , then $n + 48$ is a square, but we know that n is $p_{1}^{2}$
This means we just have to check for squares of primes, add $48$ and look whether the root is a prime number.
We can easily see that the difference between two consecutive square after $576$ is greater than or equal to $49$ ,
Hence we have to consider only the prime numbers till $23$
Squaring prime numbers below $23$ including $23$ we get the following list.
$4 , 9 , 25 , 49 , 121, 169 , 289 , 361 , 529$
But adding $48$ to a number ending with $9$ will result in a number ending with $7$ , but we know that a perfect square does not end in $7$ , so we can eliminate those cases to get the new list.
$4 , 25 , 121 , 361$
Adding $48$ , we get $121$ as the only possible solution.
Hence the answer is $\boxed{1}$

Answer: B 1
Problem: A scout troop buys $1000$ candy bars at a price of five for $2$ dollars. They sell all the candy bars at the price of two for $1$ dollar.  What was their profit, in dollars?
$\textbf{(A) }\ 100      \qquad \textbf{(B) }\ 200      \qquad \textbf{(C) }\ 300      \qquad \textbf{(D) }\ 400      \qquad \textbf{(E) }\ 500$

Solution: \begin{align*} \mbox{Expenses} &= 1000 \cdot \frac25 = 400 \\ \mbox{Revenue}  &= 1000 \cdot \frac12 = 500 \\ \mbox{Profit}   &= \mbox{Revenue} - \mbox{Expenses} = 500-400 = \boxed{100} Note: Revenue is a gain.

Answer: A 100
Problem: A scout troop buys $1000$ candy bars at a price of five for $2$ dollars. They sell all the candy bars at the price of two for $1$ dollar.  What was their profit, in dollars?
$\textbf{(A) }\ 100      \qquad \textbf{(B) }\ 200      \qquad \textbf{(C) }\ 300      \qquad \textbf{(D) }\ 400      \qquad \textbf{(E) }\ 500$

Solution: Note that the troop buys $10$ candy bars at a price of $4$ dollars and sells $10$ bars at a price of $5$ dollars. So the troop gains $1$ dollar for every $10$ bars. So therefore we divide $1000 \div 10 = 100$ . So our answer is $\boxed{100}$ .
~HyperVoid

Answer: A 100
Problem: A positive number $x$ has the property that $x\%$ of $x$ is $4$ .  What is $x$
$\textbf{(A) }\ 2      \qquad \textbf{(B) }\ 4      \qquad \textbf{(C) }\ 10      \qquad \textbf{(D) }\ 20      \qquad \textbf{(E) }\ 40$

Solution: Since $x\%$ means $0.01x$ , the statement " $x\% \text{ of } x \text{ is 4}$ " can be rewritten as " $0.01x \cdot x = 4$ ":
$0.01x \cdot x=4 \Rightarrow x^2 = 400 \Rightarrow x = \boxed{20}.$

Answer: D 20
Problem: A positive number $x$ has the property that $x\%$ of $x$ is $4$ .  What is $x$
$\textbf{(A) }\ 2      \qquad \textbf{(B) }\ 4      \qquad \textbf{(C) }\ 10      \qquad \textbf{(D) }\ 20      \qquad \textbf{(E) }\ 40$

Solution: Try the answer choices one by one. Upon examination, it is quite obvious that the answer is $\boxed{20}.$ Very fast.

Answer: D 20
Problem: Brianna is using part of the money she earned on her weekend job to buy several equally-priced CDs. She used one fifth of her money to buy one third of the CDs. What fraction of her money will she have left after she buys all the CDs?
$\textbf{(A) }\ \frac15 \qquad\textbf{(B) }\ \frac13 \qquad\textbf{(C) }\ \frac25 \qquad\textbf{(D) }\ \frac23 \qquad\textbf{(E) }\ \frac45$

Solution: Let $m =$ Brianna's money.  We have $\frac15 m = \frac13 (\mbox{CDs}) \Rightarrow \frac35 m = (\mbox{CDs})$ .  Thus, the money left over is $m-\frac35m = \frac25m$ , so the answer is $\boxed{25}$

Answer: C 25
Problem: At the beginning of the school year, Lisa's goal was to earn an $A$ on at least $80\%$ of her $50$ quizzes for the year.  She earned an $A$ on $22$ of the first $30$ quizzes.  If she is to achieve her goal, on at most how many of the remaining quizzes can she earn a grade lower than an $A$
$\textbf{(A) }\ 1      \qquad \textbf{(B) }\ 2      \qquad \textbf{(C) }\ 3      \qquad \textbf{(D) }\ 4      \qquad \textbf{(E) }\ 5$

Solution: Lisa's goal was to get an $A$ on $80\% \cdot 50 = 40$ quizzes.  She already has $A$ 's on $22$ quizzes, so she needs to get $A$ 's on $40-22=18$ more.  There are $50-30=20$ quizzes left, so she can afford to get less than an $A$ on $20-18=\boxed{2}$ of them.

Answer: B 2
Problem: A circle is inscribed in a square, then a square is inscribed in this circle, and finally, a circle is inscribed in this square. What is the ratio of the area of the smallest circle to the area of the largest square?
$\textbf{(A) } \frac{\pi}{16} \qquad \textbf{(B) } \frac{\pi}{8} \qquad \textbf{(C) } \frac{3\pi}{16} \qquad \textbf{(D) } \frac{\pi}{4} \qquad \textbf{(E) } \frac{\pi}{2}$

Solution: Let the side of the largest square be $x$ . It follows that the diameter of the inscribed circle is also $x$ . Therefore, the diagonal of the square inscribed inscribed in the circle is $x$ . The side length of the smaller square is $\dfrac{x}{\sqrt{2}}=\dfrac{x\sqrt{2}}{2}$ . Similarly, the diameter of the smaller inscribed circle is $\dfrac{x\sqrt{2}}{2}$ . Hence, its radius is $\dfrac{x\sqrt{2}}{4}$ . The area of this circle is $\left(\dfrac{x\sqrt{2}}{4}\right)^2\pi=\dfrac{2\pi x^2}{16}=\dfrac{x^2\pi}{8}$ , and the area of the largest square is $x^2$ . The ratio of the areas is $\dfrac{\dfrac{x^2\pi}{8}}{x^2}=\frac{\cancel{x^2}\pi}{8}\cdot\frac{1}{\cancel{x^2}}=\boxed{8}$

Answer: B 8
Problem: A circle is inscribed in a square, then a square is inscribed in this circle, and finally, a circle is inscribed in this square. What is the ratio of the area of the smallest circle to the area of the largest square?
$\textbf{(A) } \frac{\pi}{16} \qquad \textbf{(B) } \frac{\pi}{8} \qquad \textbf{(C) } \frac{3\pi}{16} \qquad \textbf{(D) } \frac{\pi}{4} \qquad \textbf{(E) } \frac{\pi}{2}$

Solution: Let the radius of the smallest circle be $r$ . Then the side length of the smaller square is $2r$ . The radius of the larger circle is half the length of the diagonal of the smaller square, so it is $\sqrt{2}r$ . Hence the largest square has sides of length $2\sqrt{2}r$ . The ratio of the area of the smallest circle to the area of the largest square is therefore $\frac{\pi r^2}{\left(2\sqrt{2}r\right)^2} =\boxed{8}.$

Answer: B 8
Problem: In $\triangle ABC$ , we have $AC=BC=7$ and $AB=2$ . Suppose that $D$ is a point on line $AB$ such that $B$ lies between $A$ and $D$ and $CD=8$ . What is $BD$
$\textbf{(A) }\ 3      \qquad \textbf{(B) }\ 2\sqrt{3}      \qquad \textbf{(C) }\ 4      \qquad \textbf{(D) }\ 5      \qquad \textbf{(E) }\ 4\sqrt{2}$

Solution: Draw height $CH$ (Perpendicular line from point C to line AD). We have that $BH=1$ . By the Pythagorean Theorem $CH=\sqrt{48}$ . Since $CD=8$ $HD=\sqrt{8^2-48}=\sqrt{16}=4$ , and $BD=HD-1$ , so $BD=\boxed{3}$

Answer: A 3
Problem: In $\triangle ABC$ , we have $AC=BC=7$ and $AB=2$ . Suppose that $D$ is a point on line $AB$ such that $B$ lies between $A$ and $D$ and $CD=8$ . What is $BD$
$\textbf{(A) }\ 3      \qquad \textbf{(B) }\ 2\sqrt{3}      \qquad \textbf{(C) }\ 4      \qquad \textbf{(D) }\ 5      \qquad \textbf{(E) }\ 4\sqrt{2}$

Solution: After drawing out a diagram, let $\angle{ABC}=\theta$ . By the Law of Cosines, $7^2=2^2+7^2-2(7)(2)\cos{\theta} \rightarrow 0=4-28\cos{\theta} \rightarrow \cos{\theta}=\frac{1}{7}$ . In $\triangle CBD$ , we have $\angle{CBD}=(180-\theta)$ , and using the identity $\cos(180-\theta)=-\cos{\theta}$ and Law of Cosines one more time: $8^2=7^2+x^2-2(7)(x)\left( \frac{-1}{7} \right) \rightarrow 64=49+x^2+2x \rightarrow x^2+2x-15=0$ . The only positive value for $x$ is $3$ , which gives the length of $\overline{BD}$ . Thus the answer is $\boxed{3}$

Answer: A 3
Problem: In $\triangle ABC$ , we have $AC=BC=7$ and $AB=2$ . Suppose that $D$ is a point on line $AB$ such that $B$ lies between $A$ and $D$ and $CD=8$ . What is $BD$
$\textbf{(A) }\ 3      \qquad \textbf{(B) }\ 2\sqrt{3}      \qquad \textbf{(C) }\ 4      \qquad \textbf{(D) }\ 5      \qquad \textbf{(E) }\ 4\sqrt{2}$

Solution: Let $BD=k$ . Then, by Stewart's Theorem
$2k(2+k)+7^2(2+k)=7^2k+8^2\cdot 2 \implies k^2+2k-15=0 \implies k=\boxed{3}$

Answer: A 3
Problem: The first term of a sequence is $2005$ . Each succeeding term is the sum of the cubes of the digits of the previous term. What is the ${2005}^{\text{th}}$ term of the sequence?
$\textbf{(A) } 29 \qquad \textbf{(B) } 55 \qquad \textbf{(C) } 85 \qquad \textbf{(D) } 133 \qquad \textbf{(E) } 250$

Solution: Performing this operation several times yields the results of $133$ for the second term, $55$ for the third term, and $250$ for the fourth term. The sum of the cubes of the digits of $250$ equal $133$ , a complete cycle. The cycle is, excluding the first term, the $2^{\text{nd}}$ $3^{\text{rd}}$ , and $4^{\text{th}}$ terms will equal $133$ $55$ , and $250$ , following the fourth term. Any term number that is equivalent to $1\ (\text{mod}\ 3)$ will produce a result of $250$ . It just so happens that $2005\equiv 1\ (\text{mod}\ 3)$ , which leads us to the answer of $\boxed{250}$

Answer: E 250
Problem: How many numbers between $1$ and $2005$ are integer multiples of $3$ or $4$ but not $12$
$\textbf{(A) } 501 \qquad \textbf{(B) } 668 \qquad \textbf{(C) } 835 \qquad \textbf{(D) } 1002 \qquad \textbf{(E) } 1169$

Solution: To find the multiples of $3$ or $4$ but not $12$ , you need to find the number of multiples of $3$ and $4$ , and then subtract twice the number of multiples of $12$ , because you overcount and do not want to include them. The multiples of $3$ are $\frac{2005}{3} = 668\text{ }R1.$ The multiples of $4$ are $\frac{2005}{4} = 501 \text{ }R1$ . The multiples of $12$ are $\frac{2005}{12} = 167\text{ }R1.$ So, the answer is $668+501-167-167 = \boxed{835}$

Answer: C 835
Problem: How many numbers between $1$ and $2005$ are integer multiples of $3$ or $4$ but not $12$
$\textbf{(A) } 501 \qquad \textbf{(B) } 668 \qquad \textbf{(C) } 835 \qquad \textbf{(D) } 1002 \qquad \textbf{(E) } 1169$

Solution: From $1$ $12$ , the multiples of $3$ or $4$ but not $12$ are $3, 4, 6, 8,$ and $9$ , a total of five numbers. Since $\frac{5}{12}$ of positive integers are multiples of $3$ or $4$ but not $12$ from $1$ $12$ , the answer is approximately $\frac{5}{12} \cdot 2005$ $\boxed{835}$

Answer: C 835
Problem: The quadratic equation $x^2+mx+n$ has roots twice those of $x^2+px+m$ , and none of $m,n,$ and $p$ is zero. What is the value of $n/p$
$\textbf{(A) }\ {{{1}}} \qquad \textbf{(B) }\ {{{2}}} \qquad \textbf{(C) }\ {{{4}}} \qquad \textbf{(D) }\ {{{8}}} \qquad \textbf{(E) }\ {{{16}}}$

Solution: Let $x^2 + px + m = 0$ have roots $a$ and $b$ . Then
\[x^2 + px + m = (x-a)(x-b) = x^2 - (a+b)x + ab,\]
so $p = -(a+b)$ and $m = ab$ . Also, $x^2 + mx + n = 0$ has roots $2a$ and $2b$ , so
\[x^2 + mx + n = (x-2a)(x-2b) = x^2 - 2(a+b)x + 4ab,\]
and $m = -2(a+b)$ and $n = 4ab$ . Thus $\frac{n}{p} = \frac{4ab}{-(a+b)} = \frac{4m}{\frac{m}{2}} = \boxed{8}$

Answer: D 8
Problem: The quadratic equation $x^2+mx+n$ has roots twice those of $x^2+px+m$ , and none of $m,n,$ and $p$ is zero. What is the value of $n/p$
$\textbf{(A) }\ {{{1}}} \qquad \textbf{(B) }\ {{{2}}} \qquad \textbf{(C) }\ {{{4}}} \qquad \textbf{(D) }\ {{{8}}} \qquad \textbf{(E) }\ {{{16}}}$

Solution: If the roots of $x^2 + mx + n = 0$ are $2a$ and $2b$ and the roots of $x^2 + px + m = 0$ are $a$ and $b$ , then using Vieta's formulas, \[2a + 2b = -m\] \[a + b = -p\] \[2a(2b) = n\] \[a(b) = m\] Therefore, substituting the second equation into the first equation gives \[m = 2(p)\] and substituting the fourth equation into the third equation gives \[n = 4(m)\] Therefore, $n = 8p$ , so $\frac{n}{p}= \boxed{8}$

Answer: D 8
Problem: All of David's telephone numbers have the form $555-abc-defg$ , where $a$ $b$ $c$ $d$ $e$ $f$ , and $g$ are distinct digits and in increasing order, and none is either $0$ or $1$ . How many different telephone numbers can David have?
$\textbf{(A) } 1 \qquad \textbf{(B) } 2 \qquad \textbf{(C) } 7 \qquad \textbf{(D) } 8 \qquad \textbf{(E) } 9$

Solution: The only digits available to use in the phone number are $2$ $3$ $4$ $5$ $6$ $7$ $8$ , and $9$ . There are only $7$ spots left among the $8$ numbers, so we need to find the number of ways to choose $7$ numbers from $8$ . The answer is then $\dbinom{8}{7}=\dfrac{8!}{7!\,(8-7)!}=\boxed{8}$

Answer: D 8
Problem: On a certain math exam, $10\%$ of the students got $70$ points, $25\%$ got $80$ points, $20\%$ got $85$ points, $15\%$ got $90$ points, and the rest got $95$ points.  What is the difference between the mean and the median score on this exam?
$\textbf{(A) }\ 0 \qquad \textbf{(B) }\ 1 \qquad \textbf{(C) }\ 2 \qquad \textbf{(D) }\ 4 \qquad \textbf{(E) }\ 5$

Solution: To begin, we see that the remaining $30\%$ of the students got $95$ points. Assume that there are $20$ students; we see that $2$ students got $70$ points, $5$ students got $80$ points, $4$ students got $85$ points, $3$ students got $90$ points, and $6$ students got $95$ points. The median is $85$ , since the $10^{\text{th}}$ and $11^{\text{th}}$ terms are both $85$ . The mean is $\dfrac{70\,(2)+80\,(5)+85\,(4)+90\,(3)+95\,(6)}{20}=\dfrac{1720}{20}=86$ . The difference between the mean and median, therefore, is $\boxed{1}$

Answer: B 1
Problem: On a certain math exam, $10\%$ of the students got $70$ points, $25\%$ got $80$ points, $20\%$ got $85$ points, $15\%$ got $90$ points, and the rest got $95$ points.  What is the difference between the mean and the median score on this exam?
$\textbf{(A) }\ 0 \qquad \textbf{(B) }\ 1 \qquad \textbf{(C) }\ 2 \qquad \textbf{(D) }\ 4 \qquad \textbf{(E) }\ 5$

Solution: The remaining $30\%$ of the students got $95$ points.
The mean is equal to $10\%\cdot70 + 25\%\cdot80 + 20\%\cdot85 + 15\%\cdot90 + 30\%\cdot95 = 86$ .
The score greater than or equal to $50\%$ of other scores is the median. Since $35\%$ scored $80$ or lower and the next $20\%$ scored $85$ , the median is $85$ . The difference between the mean and the median is $\boxed{1}$

Answer: B 1
Problem: What is the average (mean) of all 5-digit numbers that can be formed by using each of the digits 1, 3, 5, 7, and 8 exactly once?
$\textbf{(A) }48000\qquad\textbf{(B) }49999.5\qquad\textbf{(C) }53332.8\qquad\textbf{(D) }55555\qquad\textbf{(E) }56432.8$

Solution: We first look at how many times each number will appear in each slot. If we fix a number in a slot, then there are $4! = 24$ ways to arrange the other numbers, so each number appears in each spot $24$ times. Therefore, the sum of all such numbers is $24 \times (1+3+5+7+8) \times (11111) = 24 \times 24 \times 11111 = 6399936.$ Since there are $5! = 120$ such numbers, we divide $6399936 \div 120$ to get $\boxed{53332.8}$

Answer: C 53332.8