My piggy bank has $42$ coins worth exactly $\$1.00$. If it has at least one quarter, dime, nickel, and penny, find the total number of dimes and nickels.
I found $1+ 5 + 10 +25 =41$ cents with the minimum of each which then leaves $59$ cents and $38$ coins. I know there needs to be more pennies and if there was another quarter it would mean $34$ cents with $37$ coins which is impossible. So no more quarters. I'm then stuck
You've rightly pointed out that you can have no more quarters. So we can form a couple of equations.
If $p = $ no. of extra pennies, $d = $ no. of extra dimes, and $n = $ no. of extra nickels we have:
$p + d + n = 38$ (total number of coins),
and $1p + 5n + 10d = 59.$
Unfortunately we only have 2 equations for 3 unknowns, so we can't solve it directly. But we do have (by subtracting the first from the second) that:
EDIT Thank for pointing out a numerical error:
$4n + 9d = 21.$ Which can be solved if $n = 3$ and $d = 1.$
Plugging these values into our initial equal equations we get: $p + 4 = 38$ so $p = 34.$
In total you have $35$ pennies, $4$ nickels, $2$ dimes and a quarter.
So your total number of dimes and nickels is $6$