Find a recurrence relation for the number of ways to count out bills(order is important) until n dollars are counted.
a) Using one-dollar bills and two-dollar bills
b) using one-, two-, and five-dollar bills.
Find a recurrence relation for the number of ways to count out bills(order is important) until n dollars are counted.
a) Using one-dollar bills and two-dollar bills
b) using one-, two-, and five-dollar bills.