Given four integer values $a,b,m,n \gt 0$, I know how to compute the number of positive integer solutions of the following equation:
$$x+y+z=n$$
and also the number of positive integer solutions of this one:
$$x+ay+bz=m$$
(see for example this question).
My question: is it possible to find a formula for the number of positive integer solutions of the below system, without assigning specific values to $a,b,m,n$?
$$\begin{cases} x+y+z=n \\ x+ay+bz=m \\ \end{cases} $$
I tried some simple manipulation like e.g. subtracting the two equations to get $(a-1)y+(b-1)z=m-n$, however clearly the number of solutions for that still isn't the same for the system.
EDIT
I just found an answer to a similar question here. Using the same technique, the number of solutions should be the coefficient of $s^nt^m$ for the generating function:
$$\frac{1}{(1-st)(1-st^a)(1-st^b)}$$
However, I think that it's impossible to compute it without choosing values for $a,b,n,m$.