# Difference between revisions of "2018 AMC 10A Problems/Problem 8"

Joe has a collection of 23 coins, consisting of 5-cent coins, 10-cent coins, and 25-cent coins. He has 3 more 10-cent coins than 5-cent coins, and the total value of his collection is 320 cents. How many more 25-cent coins does Joe have than 5-cent coins?

$\textbf{(A) } 0 \qquad \textbf{(B) } 1 \qquad \textbf{(C) } 2 \qquad \textbf{(D) } 3 \qquad \textbf{(E) } 4$

## Solution

Let $x$ be the number of 5-cent stamps that Joe has. Therefore, he must have $(x+3)$ 10-cent stamps and $(23-(x+3)-x)$ 25-cent stamps. Since the total value of his collection is 320 cents, we can write

\begin{align*} 5x+10(x+3)+25(23-(x+3)-x)= 320 \\ & \Rightarrow 5x+10(x+3)+25(20-2x)= 320 \\ & \Rightarrow 5x+10x+30+500-50x= 320 \\ & \Rightarrow 35x= 210 \\ & \Rightarrow x= 6 \ \end{align*}

Joe has 6 5-cent stamps, 9 10-cent stamps, and 8 25-cent stamps. Thus, our answer is $8-6=\boxed{2}$

~Nivek

## Solution

Let n be the number of 5 cent coins Joe has, d be the number of 10 cent coins, and q the number of 25 cent coins. We are solving for q - n.

We know that the value of the coins add up to 320 cents. Thus, we have 5n + 10d + 25q = 320. Let this be (1).

We know that there are 23 coins. Thus, we have n + d + q = 23. Let this be (2).

We know that there are 3 more dimes than nickels, which also means that there are 3 less nickels than dimes. Thus, we have d - 3 = n.

Plugging d-3 into the other two equations for n, (1) becomes 2d + q - 3 = 23 and (2) becomes 15d + 25q - 15 = 320. (1) then becomes 2d + q = 26, and (2) then becomes 15d + 25q = 335.

Multiplying (1) by 25, we have 50d + 25q = 650 (or 25^2 + 25). Subtracting (2) from (1) gives us 35d = 315, which means d = 9.

Plugging d into d - 3 = n, n = 6.

Plugging d and q into the (2) we had at the beginning of this problem, q = 8.

Thus, the answer is 8 - 6 = 2.