From combinatorics I know that it's combinations formula $\binom{n-1}2$ for $x+y+z=n$. But how can I deduce it for something with coefficients, like
$2x+3y+6z=1200$
For context, how similar problem (by books authors opinion) can be solved:
Problem. In how many ways can five identical balls be placed in three different boxes drawers so that no drawer is empty?
Solution. Let's first put one ball in each drawer - then no drawer will be empty. We are left with two balls, which must be placed in the three drawers in an arbitrary way. The number of such arrangements is the number of sequences of two zeros and two ones, i.e. $\binom{2}4$.
We can reason in another way. Let's put five balls in a row. There can only be partitions only in the spaces between the balls. So we need to put two of the dividers in any two of the four spaces, and we can choose two positions out of the four by $\binom{2}4$ in a number of ways.
Task. How many solutions in positive integers does the equation x + y + z = 5 have?
Solution. This is exactly the previous problem, since none of the variables now can't equal zero. The equation has $\binom{2}4$ solutions in the natural numbers. It is not difficult to solve the following problem: (here goes my problem)