I am trying to work out the number of scenarios I can cover with a given set of coin combinations so I can decide when I have the optimal amount of change to carry.
For the sake of the example, lets not consider notes €5, €10, etc. Or coin denominations smaller than €0.10 - so €0.05, €0.02, €0.01 etc.
So that leaves us with using the following euro coin denominations: €2, €1, €0.50, €0.20, €0.10. Lets consider this 1 complete set of coins.
Lets say tomorrow I go to the shop and purchase something for €3.40. If I have only 1 set of coins:
I must use 1x€2.00, 1x€1.00, 1x€50, resulting in change of €0.10 returned. Leaving me with 1x€0.20 and 2x€0.10 coins.
However, If I have 2 sets of coins. I could cover a single scenario of much greater quantity than any one set allows. But, more importantly, I could possibly have a larger number of scenarios. If the scenarios are smaller than any 1 set, I could definitely cover 2 scenarios. But I might struggle to cover a third unless it is small.
If I continue like this, now holding 3 sets of coins. Assuming any scenario is less than any 1 set of coins. I can definitely cover 3 scenarios. But it is also likely I could cover a 4th or 5th scenario.
Continuing on with 4 sets of coins. And again with 5 or 6 sets.
What I am asking is, how can I maximise the number of scenarios I can cover, with the minimum number of coins. There is also the possibility of covering amounts larger than any one set alone. So for example with 4 sets of coins. I could easily cover any amounts smaller than all 4 sets of coins, any single set of coins, any double set of coins, and a triple and single set. But if I use them in any one of those scenarios, there is still a possibility I could cover 1 or even more than 1 additional scenario. That is have enough change left if I need it.
I would like to know how to work this out?
What I am trying to do is very practical. Instead of carrying whatever coins I have in one pocket. I want to split my coins up. I want to always know that if I carry X number of coin sets. I will have enough to cover Y number of scenarios. Then I can carry that number of coin sets in 1 pocket, and have random coins in the other. Then at the end of the day, I can reset my coins or know what I must do the next day to ensure I have the right amount of coins to cover a given number of possible scenarios. I want to do this instead of carrying around a random number of random coins, having the check my coinage at every transaction to see if I have enough.
Additional concepts for clarity.
One of the comments so far have suggested I look at Integer Partitions. After a quick look (I am not a mathematician and have not had a lot of time to research this area, so please forgive my ignorance). I would like to point out one important factor. That is, we do NOT have an infinite number of coins. We only have the coins in our set or sets, and whatever change we can receive as a result of using those coins or sets. So we actually do have a very finite number of scenarios. In other words, we cant magically keep pulling €2.00 coins out of the clouds once we have used all our €2.00 coins.
I also used the word "Reasonable" in my comments, I should not have used that word. I left it there to not break the flow.
What would be considered an acceptable answer? A solution that shows some of the possibilities of a finite set or sets of coins and how to calculate the rest for myself. So for example, if you want to use €2.00, €1.00 and €0.50 and ignore others (or any other subset of the coins in the original question). It must also be in line with a practical example. You must think in terms of having these physical sets of coins in your pockets. If you have 4 sets of coins, you have 4 pockets and once a set is broken, you can only use what remains to help other sets if they too get broken. So lets say you have 2 sets. But the first visit to the shop used the lower 2 denomination coins from the first set. But the second visit to the shop used the upper 2 denomination coins from the second set. You can still go back to the shop because you can effectively combine the two broken sets into a complete set and sill even have 1 extra €0.50 cent coin. I hope this is making more sense. The only thing I don't want is that we start considering infinite coins. It has to remain in line with what you could do if you physically had a fixed set or sets of coins. I don't want to be running around robbing grannies at gun point for their coins because my set is broken.
What I am looking for is how to work out mathematically (if possible) the practical problem you see every day of picking change from a set of coins. This way I can say. Oh. I have too many ten cent coins. Let me exchange them, or vice versa, and so my change does not build up very far beyond the number of coins I actually need for most daily scenarios. Or better yet, if I am travelling somewhere, and I want to ensure I have enough coins to give the taxi driver or pizza delivery guy, or waiter, the right amount of change and maybe even a little tip. How many sets of coins should I bring, and more importantly, how many should I ensure I have on my return journey?
I hope this clarifies things better.