Adding (or not, if 0) coins in order from greater to lower value. In the diagram below:
In the first line of totals included 0 or 1 or 2 quarters.
In the second line of totals included 0 or 1 dimes.
In the third line of totals included 0 or 1 or 2 or 3 nickels.
Then, in the third line, eliminate (strike through) duplicate sums. (8 eliminated).
0 25 50
/ \ / \ / \
0 10 25 35 50 60
/ / \ \ / / \ \ / / \ \ / / \ \ / / \ \ / / \ \
0 5 10 15 10 15 20 25 25 30 35 40 35 40 45 50 50 55 60 65 60 65 70 75
We got 16 different sums so far.
Now, adding 0 or 1 or 2 pennies, we notice that any number of added pennies produces different sums with any of the previously reached different 16 sums above.
So there will be 16 * 3 = 48 different resulting sums.
As the question is about using one or more coins, the leftmost branch of the diagram, with adding 0 pennies, means there are 0 coins. This case should be excluded 48 - 1 = 47.
Answer: Using one or more of these 8 coins, he can make 47 different sums of money.
------------------------------------
If all the reasoning was done mentally, one would need (I certainly would) to put only numbers on scrap paper. So before writing the answer, 47, or selecting it, if that's a multiple choice, my work would look like the three lines of numbers below, that is, even without 16 * 3 = 48 => - 1 = 47. If that was a new type of a problem for me on the test, I would not be able to do this in 1 minute or 3 minutes, or ..., but that's possibly the fastest way to solve it.
0 25 50
0 10 25 35 50 60
0 5 10 15 10 15 20 25 25 30 35 40 35 40 45 50 50 55 60 65 60 65 70 75
-------------
For the last note, I first tried a couple of more approaches for the speediest one. One of them seemed promising until halfway.
From 256 cases, eliminate duplicates caused by exactly 1 of the 2 pennies in the sum, because having one or another of them would end up with the same sum, everything else being equal. Those are 64.
Similarly, with 2 quarters. 64.
Similarly, with 3 nickels. 128.
256 - 64 - 64 - 128 = 0.
Then, it should be understood, when we were eliminating duplicate-with-pennies cases, some of the duplicate-with-quarters cases were eliminated too. So after eliminating the latter, we should add back the twice-removed.
Similarly deal with eliminating cases twice while eliminating pennies-cases and nickels-cases independently.
Similarly deal with eliminating cases twice while eliminating quarters-cases and nickels-cases independently.
I got with numbers that far relatively quickly, but then the forward-reasoning led me to anticipating more steps, at least two:
1. Eliminating cases which were returned more than once (!) while returning the previously twice-removed ones.
2. Eliminating cases where the dime can be substituted by two of the three nickels and where a quarter can be substituted by the dime and three nickes, while taking care of the double-elimination(!) along with prior eliminations.
Once I got to anticipating the step 2 above, about substitution (!), I got the idea of the "featured" :) solution.
Doug C.
Shouldn't 77 be a possible sum? Also, 47, 65, 67, 70, 75, 76? Others?02/23/25