I am preparing for an exam and I saw the following question in last year's test:
Suppose we want to donate in total 160 Euros to 3 student associations R1, R2 and R3, such that each gets at least 40 Euros, but at most 60 Euros. How many possibilities are there to do that? Use a generating function to compute your answer
Would the answer be smaller, the same, or larger when asking for the number of possibilities to divide 160 Euros into three parts, with the same restrictions on minimal and maximal amounts?
In this course we have studied generating functions. I can solve the first part, what confuses me is the last question. To me it seems like the answer would be the same, but I feel like they would not ask the question if it were like that. Can anyone help me understand this?
Edit: Does it have anything to do with polynomials VS power series?
I think the difference in the two questions is whether order matters. In the first question, R1=45, R2=55, R3=60 is different from R1=60, R2=55, R3=45. But in the second question, division in to three parts 45,55,60 is the same as division into three parts 60,55,45.