Here is the problem:
Let M (the sum) be 10 and N (the number of numbers) be 4.
Some possible combinations are are (10, 0, 0, 0), (5, 3, 2, 0), (8, 1, 1, 0), (8, 2, 0, 0), (6, 2, 1, 1), etc.
How do I calculate the number of possible combinations?
Thanks for the help.