Ralph went to the store and bought 12 pairs of socks for a total of 24$. Some of the socks he bought cost 1 a pair, and some of the socks he bought cost 4$ a pair. If he bought at least one pair of each type, how many pairs of 1$ socks did Ralph buy?
$
Problem 206
Pick one
Official solution
Solution 1
So, let there be pairs of 1$ socks, $y$ pairs of 3z socks.
We have , , and .
Now, we subtract to find , and .
It follows that is a multiple of and is a multiple of . Since sum of 2 multiples of 3 = multiple of 3, so we must have .
Therefore, , and it follows that . Now, , as desired.
Solution 2
Since the total cost of the socks was 24$ and Ralph bought $12$ pairs, the average cost of each pair of socks is $\frac{$24}{12} = $2$.
There are two ways to make packages of socks that average to 2$. You can have:
Two 1$ pairs and one 4)
One 1$ pair and one 3)
Now, we need to solve
where is the number of 6$ packages and $b$ is the number of 4a=2, b=32\times2+3\times1 = \boxed{\textbf{(D)}~7}$.
Solution 3
Since there are 12 pairs of socks, and Ralph bought at least one pair of each, there are pairs of socks left. Also, the sum of the three pairs of socks is . This means that there are dollars left. If there are only dollar socks left, then we would have dollars wasted, which leaves more dollars. If we replace one pair with a dollar pair, then we would waste an additional dollars. If we replace one pair with a dollar pair, then we would waste an additional dollars. The only way can be represented as a sum of s and s is . If we change pairs, we would have pairs left. Adding the one pair from previously, we have pairs.
Solution 4
Let the amount of dollar socks be , dollar socks be , and dollar socks be . We then know that and . We can make into and then plug that into the other equation, producing which simplifies to . It's not hard to see and . Now that we know and , we know that , meaning the number of dollar socks Ralph bought is .
Solution 5 (Guess and check)
If Ralph bought one sock of each kind, he already used 8$, so there are 16 into four 4$ sections, (as it is the smallest possible number that 1, 3, 4, can make in different ways that in all use at least each of the numbers once,) if Ralph bought a 3 pair in order for it to add up to a multiple of four. Similarly, if Ralph bought a 1$ pair, he would either need to buy three 1 pair. If Ralph bought a 4$ pair, it would already make a group. Now, the problem is just how we can split 9 into 4 groups of 1, 2, or 4. We clearly see that $1 + 2 + 2 + 4 = 9$, or a 4 pairs, and six 1$ pairs. Because we subtracted the necessary one of each kind, there are two 4 pairs, and seven 1$ pairs. Therefore, the number of 1\boxed{\textbf{(D)}~7}$.
~strongstephen