Count the number of dimes?

44 Views Asked by At

You are given a bag with 100 coins.  The bag only has pennies, dimes and half-dollars.  The bag has at least one of each coin.  The total value of the coins in the bag is worth $5,  How many dimes are in the bag?

1

There are 1 best solutions below

3
On BEST ANSWER

Let $P$ be the number of pennies, $D$ the number of dimes, and $H$ the number of half-dollars.

We have $P+D+H=100$ and $P+10D+50H=500$.

Subtract the former from the latter and we have $9D+49H=400$.

There is only one integer pair solution $(D,H)$ to that last equation, and that solves the problem.