Math Help - linear diophantine equ.

1. linear diophantine equ.

find the 5 diff. ways a collection of 100 coins-pennies, dimes, and quarters- can be worth exactly worth $4.99. 2. Originally Posted by Sally_Math find the 5 diff. ways a collection of 100 coins-pennies, dimes, and quarters- can be worth exactly worth$4.99.
$p+d+q=100$ and $p+10d+25q = 499$.
Thus, $9d + 24q = 399$.
What are the possibilities for $d,q$ then?