Question 259620
<pre><font size = 4 color="indigo"><b>
{{{system(5n + 10d + 25q = 405,
n+ d + q = 40)}}}

Solving for n and d in terms of q:

{{{system(n=3q-1,d=41-4q)}}}

Since 
{{{n>d}}}
{{{3q-1>41-4q}}}
{{{7q>42}}}
{{{q>6}}}

{{{d>1}}}
{{{41-4q>1}}}
{{{4q<40}}}
{{{q<10}}}

So from the above, we can calculate 4 cases:

7 quarters, 20 nicklea, and 13 dimes.
8 quarters, 23 nicklea, and 9 dimes.
9 quarters, 26 nicklea, and 5 dimes.
10 quarters, 29 nicklea, and 1 dimes.

Edwin</pre>