There are some coins made up with , , and , but there are some following restrictions:
- , , and coins must have 1 at least.
- The maximum of total amount is 30.
How many ways to make with these restrictions?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Let x , y , and z as the amount of $ 1 , $ 5 , and $ 1 0 coins. Then make the equations:
{ x + 5 y + 1 0 z = 9 9 3 ≤ x + y + z ≤ 3 0
From x that it has 4 possible values: 4 , 9 , 1 4 , and 1 9 . Then make cases to solve:
x 4 9 1 4 1 9 y 2 t − 1 2 t 2 t − 1 2 t z 1 0 − t 9 − t 9 − t 8 − t t 1 ≤ t ≤ 9 1 ≤ t ≤ 8 1 ≤ t ≤ 8 1 ≤ t ≤ 3
Combine the result, so there are 2 8 ways to make $ 9 9 .