Using only notes of denominations $5, $10, $20,
How many ways can you give me $100 using at most 6 $10 notes?
5, 10, 20
1 = 20 0 0
2 = 18 1 0
3 = 16 2 0
4 = 14 3 0
5 = 12 4 0
6 = 10 5 0
7 = 8 6 0
8 = 16 0 1
9 = 14 1 1
10 = 12 2 1
11 = 10 3 1
12 = 8 4 1
13 = 6 5 1
14 = 4 6 1
15 = 12 0 2
16 = 10 1 2
17 = 8 2 2
18 = 6 3 2
19 = 4 4 2
20 = 2 5 2
21 = 0 6 2
22 = 8 0 3
23 = 6 1 3
24 = 4 2 3
25 = 2 3 3
26 = 0 4 3
27 = 4 0 4
28 = 2 1 4
29 = 0 2 4
30 = 0 0 5