I want to count the number of non-negative integer solutions to an equation such as
$$x+5y+8z=n$$
I can do this using generating functions; for example, the answer here is
$$[x^n]\frac{1}{(1-x)(1-x^5)(1-x^8)}$$ where $[x^n]$ is the coefficient of $x^n$.
But what if I add a restriction between variables such as $y \le z$? I have no idea how to count the number of solutions with this additional constraint. Any suggestions?