.
For the penny, you have 2 opportunities: it either is included to the sum, or not.
For the dime, you have the same 2 opportunities: it either is included to the sum, or not.
For the quarters, you have 4 opportunities: Either 0, or 1, or 2, or 3 quarters are included.
For loonie (Canadian one-dollar coin), you have 2 opportunity, again.
Now, multiply the numbers of these opportunities. You will get
2*2*4*2 = 32.
From this total number 32, we should subtract the zero sum case.
So, the final answer is 32-1 = 31 different non-zero sums.