I have this problem:
"Find all possible combinations, to form
$12000With$10000$5000and$1000"
I read a posibble solutions is:
Find all natural solutions to: 10a + 5b + c = 12
Further, already solved this, only testing the combinatios.
But how i can do with more combinations? Imagine the combinations were 50 or more, it would be a waste of time.
so, the best method is find the natural solutions? and how to do that?