Question: How many ways are there to pay a bill of 17 pesos using the currency described in Exercise, where the order in which coins and bills are paid matters?
Exercise: A country uses as currency coins with values of 1 peso, 2 pesos, 5 pesos, and 10 pesos and bills with values of 5 pesos, 10 pesos, 20 pesos, 50 pesos, and 100 pesos. Find a recurrence relation for the number of ways to pay a bill of n pesos if the order in which the coins and bills are paid matters.